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