This commit is contained in:
mwx816443 2020-06-15 09:51:13 +08:00
parent 7bd4722023
commit fec456bbae
1 changed files with 4 additions and 4 deletions

View File

@ -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"
]