Add npm run lint-no-fix option (#93)
This commit is contained in:
parent
fc10575dfa
commit
f10a3c63d1
|
|
@ -6,7 +6,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve || npm install && vue-cli-service serve",
|
"serve": "vue-cli-service serve || npm install && vue-cli-service serve",
|
||||||
"build": "vue-cli-service build || npm install && vue-cli-service build",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "cd client && cd web && npm run serve",
|
"serve": "cd client && cd web && npm run serve",
|
||||||
"build": "cd client && cd web && npm run build",
|
"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…
Reference in New Issue