test: commit
This commit is contained in:
15
package.json
15
package.json
@@ -59,6 +59,7 @@
|
||||
"@typescript-eslint/parser": "^4.33.0",
|
||||
"@vitejs/plugin-vue": "^1.9.3",
|
||||
"@vue/compiler-sfc": "^3.2.20",
|
||||
"@vue/eslint-config-prettier": "^6.0.0",
|
||||
"@vue/server-renderer": "^3.2.20",
|
||||
"@vue/test-utils": "^2.0.0-rc.15",
|
||||
"babel-jest": "^26.6.3",
|
||||
@@ -68,11 +69,12 @@
|
||||
"eslint-plugin-vue": "^7.19.1",
|
||||
"husky": "^7.0.2",
|
||||
"jest": "^26.6.3",
|
||||
"lint-staged": "^10.5.4",
|
||||
"lint-staged": "^11.2.3",
|
||||
"markdown-it-container": "^3.0.0",
|
||||
"postcss": "^8.3.9",
|
||||
"postcss-preset-env": "^6.7.0",
|
||||
"prettier": "2.2.1",
|
||||
"prettier": "^2.4.1",
|
||||
"pretty-quick": "^3.1.1",
|
||||
"prismjs": "^1.25.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^26.5.6",
|
||||
@@ -85,9 +87,16 @@
|
||||
"lib",
|
||||
"types"
|
||||
],
|
||||
"lint-staged": {
|
||||
"*.{ts,vue,tsx,md}": "eslint --fix",
|
||||
"*.{css,less,vue,md}": "stylelint --fix",
|
||||
"*": "prettier -w -u"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
"pre-commit": "lintstage",
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
||||
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user