feat: ✨ 修改脚本
Showing
.husky/commit-msg
0 → 100755
.husky/pre-commit
0 → 100755
... | ... | @@ -13,6 +13,7 @@ |
"preview": "node build/index.js --preview", | ||
"lint:stage": "lint-staged", | ||
"spellcheck": "cspell lint --dot --gitignore --color --cache --show-suggestions \"src/**/*.@(html|js|cjs|mjs|ts|tsx|css|scss|md|vue)\"", | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"@riophae/vue-treeselect": "0.4.0", | ||
... | ... | @@ -56,7 +57,7 @@ |
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-vue": "7.2.0", | ||
"husky": "^3.1.0", | ||
"husky": "^8.0.0", | ||
"lint-staged": "^10.5.3", | ||
"mockjs": "1.0.1-beta3", | ||
"postcss": "^8.4.12", | ||
... | ... | @@ -103,12 +104,6 @@ |
"management-system" | ||
], | ||
"license": "MIT", | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
} | ||
}, | ||
"lint-staged": { | ||
"src/**/*.{js,vue}": [ | ||
"eslint --fix", | ||
... | ... |
Please register or sign in to comment