File tree 3 files changed +9
-6
lines changed
3 files changed +9
-6
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
+ npx --no-install lint-staged
Original file line number Diff line number Diff line change 86
86
"examples:browser:rollup:build" : " cd examples/browser-rollup && npm install && npm run build" ,
87
87
"examples:node:commonjs:test" : " cd examples/node-commonjs && npm install && npm test" ,
88
88
"examples:node:esmodules:test" : " cd examples/node-esmodules && npm install && npm test" ,
89
+ "prepare" : " husky install" ,
89
90
"lint" : " npm run eslint:check && npm run prettier:check" ,
90
91
"eslint:check" : " eslint src/ test/ examples/ *.js" ,
91
92
"eslint:fix" : " eslint --fix src/ test/ examples/ *.js" ,
112
113
"type" : " git" ,
113
114
"url" : " https://github.com/uuidjs/uuid.git"
114
115
},
115
- "husky" : {
116
- "hooks" : {
117
- "commit-msg" : " commitlint -E HUSKY_GIT_PARAMS" ,
118
- "pre-commit" : " lint-staged"
119
- }
120
- },
121
116
"lint-staged" : {
122
117
"*.{js,jsx,json,md}" : [
123
118
" prettier --write"
You can’t perform that action at this time.
0 commit comments