File tree 4 files changed +1174
-39
lines changed
4 files changed +1174
-39
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npx --no-install commitlint --edit $1
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npm run lint
Original file line number Diff line number Diff line change 30
30
"devDependencies" : {
31
31
"@ant-design/icons" : " ^4.7.0" ,
32
32
"@babel/core" : " ^7.15.8" ,
33
+ "@commitlint/cli" : " ^13.2.1" ,
34
+ "@commitlint/config-conventional" : " ^13.2.0" ,
33
35
"@rollup/plugin-babel" : " ^5.3.0" ,
34
36
"@rollup/plugin-commonjs" : " ^21.0.0" ,
35
37
"@rollup/plugin-node-resolve" : " ^13.0.5" ,
49
51
"eslint-plugin-react-hooks" : " ^4.2.0" ,
50
52
"fbemitter" : " ^3.0.0" ,
51
53
"gh-pages" : " ^3.2.3" ,
54
+ "husky" : " ^7.0.2" ,
52
55
"less" : " ^4.1.2" ,
53
56
"numeral" : " ^2.0.6" ,
54
57
"postcss" : " ^8.3.9" ,
60
63
"rollup-plugin-filesize" : " ^9.1.1" ,
61
64
"rollup-plugin-peer-deps-external" : " ^2.2.4" ,
62
65
"rollup-plugin-postcss" : " ^4.0.1" ,
63
- "rollup-plugin-uglify" : " ^6.0.4"
66
+ "rollup-plugin-uglify" : " ^6.0.4" ,
67
+ "standard-version" : " ^9.3.1"
64
68
},
65
69
"peerDependencies" : {
66
70
"@ant-design/icons" : " ^4.7.0" ,
You can’t perform that action at this time.
0 commit comments