Skip to content

Commit cdd45c4

Browse files
committed
chore: update husky
1 parent b8abf38 commit cdd45c4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ _site
6363
yarn.lock
6464
package-lock.json
6565
/coverage
66+
.husky
6667

6768
# 备份文件
6869
/components/test/*

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
"codecov": "codecov",
4747
"postinstall": "node scripts/postinstall || echo \"ignore\""
4848
},
49+
"husky": {
50+
"hooks": {
51+
"pre-commit": "pretty-quick --staged"
52+
}
53+
},
4954
"repository": {
5055
"type": "git",
5156
"url": "git+https://github.com/vueComponent/ant-design-vue.git"
@@ -131,7 +136,7 @@
131136
"gulp-strip-code": "^0.1.4",
132137
"gulp-typescript": "^6.0.0-alpha.1",
133138
"html-webpack-plugin": "^3.2.0",
134-
"husky": "^5.0.0",
139+
"husky": "^5.1.3",
135140
"ignore-emit-webpack-plugin": "^2.0.6",
136141
"istanbul-instrumenter-loader": "^3.0.0",
137142
"jest": "^26.0.0",

0 commit comments

Comments
 (0)