mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Add npm run lint-no-fix option (#93)
This commit is contained in:
parent
cb9d34c84d
commit
9ad5f4ce78
2 changed files with 5 additions and 3 deletions
|
|
@ -6,7 +6,8 @@
|
|||
"scripts": {
|
||||
"serve": "vue-cli-service serve || npm install && vue-cli-service serve",
|
||||
"build": "vue-cli-service build || npm install && vue-cli-service build",
|
||||
"lint": "vue-cli-service lint || npm install && vue-cli-service lint"
|
||||
"lint": "vue-cli-service lint || (npm install && vue-cli-service lint)",
|
||||
"lint-no-fix": "vue-cli-service lint --no-fix || (echo 'Please run `npm run lint`. If the linter execution fails, try running `npm install` first.' && false)"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
"scripts": {
|
||||
"serve": "cd client && cd web && npm run serve",
|
||||
"build": "cd client && cd web && npm run build",
|
||||
"lint": "cd client && cd web && npm run lint"
|
||||
"lint": "cd client && cd web && npm run lint",
|
||||
"lint-no-fix": "cd client && cd web && npm run lint-no-fix"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue