update
This commit is contained in:
parent
7bd4722023
commit
fec456bbae
|
@ -9,9 +9,9 @@
|
|||
"build:prod": "vue-cli-service build",
|
||||
"build:stage": "vue-cli-service build --mode staging",
|
||||
"preview": "node build/index.js --preview",
|
||||
"lint": "eslint --ext .js,.vue src && stylelint --aei .vue,.html src",
|
||||
"lint:eslint": "eslint --ext .js,.vue src",
|
||||
"lint:style": "stylelint --aei .vue,.html src",
|
||||
"lint": "eslint --ext .js,.vue src && stylelint --aei .vue,.html.scss src",
|
||||
"lint:js": "eslint --ext .js,.vue src",
|
||||
"lint:style": "stylelint --aei .vue,.html.scss src",
|
||||
"test:unit": "jest --clearCache && vue-cli-service test:unit",
|
||||
"test:ci": "npm run lint && npm run test:unit",
|
||||
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
|
||||
|
@ -27,7 +27,7 @@
|
|||
"eslint --fix",
|
||||
"git add"
|
||||
],
|
||||
"src/**/*.{css,scss,vue,html}": [
|
||||
"src/**/*.{css,scss}": [
|
||||
"stylelint",
|
||||
"git add"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue