Update npm scripts

This commit is contained in:
Fine0830 2023-06-13 18:19:20 +08:00 committed by GitHub
parent 1d684090ca
commit 2a2c892bdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged",
"prepare": "husky install",
"check-components-types": "if (! -z '${git diff -U0 ./src/types}'); then echo 'type files are not updated correctly'; git diff -U0 ./src/types; exit(1); fi"
"check-components-types": "if (! -z '$(git diff -U0 ./src/types)'); then echo 'type files are not updated correctly'; git diff -U0 ./src/types; exit(1); fi"
},
"dependencies": {
"axios": "^0.24.0",