File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "hooks": {
3
+ "pre-commit": "pretty-quick --staged",
4
+ "pre-publish": "npm run lint",
5
+ "commit-msg": "commitlint -x @commitlint/config-conventional -e $GIT_PARAMS"
6
+ }
7
+ }
Original file line number Diff line number Diff line change 41
41
"dist" : " node antd-tools/cli/run.js dist" ,
42
42
"lint" : " eslint -c ./.eslintrc --fix --ext .jsx,.js,.vue ./components" ,
43
43
"lint:style" : " stylelint \" {site,components}/**/*.less\" --syntax less" ,
44
- "commitmsg" : " commitlint -x @commitlint/config-conventional -e $GIT_PARAMS" ,
45
44
"codecov" : " codecov" ,
46
45
"postinstall" : " node scripts/postinstall || echo \" ignore\" "
47
46
},
54
53
"url" : " https://github.com/vueComponent/ant-design-vue/issues"
55
54
},
56
55
"homepage" : " https://www.antdv.com/" ,
57
- "husky" : {
58
- "hooks" : {
59
- "pre-commit" : " pretty-quick --staged"
60
- }
61
- },
62
56
"peerDependencies" : {
63
57
"vue" : " >=2.6.0" ,
64
58
"vue-template-compiler" : " >=2.6.0"
119
113
"gulp-strip-code" : " ^0.1.4" ,
120
114
"highlight.js" : " ^9.12.0" ,
121
115
"html-webpack-plugin" : " ^3.2.0" ,
122
- "husky" : " ^0.14.3 " ,
116
+ "husky" : " ^3.1.0 " ,
123
117
"istanbul-instrumenter-loader" : " ^3.0.0" ,
124
118
"jest" : " ^24.0.0" ,
125
119
"jest-serializer-vue" : " ^1.0.0" ,
142
136
"optimize-css-assets-webpack-plugin" : " ^5.0.1" ,
143
137
"postcss" : " ^7.0.6" ,
144
138
"postcss-loader" : " ^3.0.0" ,
145
- "pre-commit" : " ^1.2.2" ,
146
139
"prettier" : " ^1.18.2" ,
147
140
"pretty-quick" : " ^1.11.1" ,
148
141
"querystring" : " ^0.2.0" ,
You can’t perform that action at this time.
0 commit comments