File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
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 pre-commit
Original file line number Diff line number Diff line change 1414 "contrib:add" : " all-contributors add" ,
1515 "contrib:generate" : " all-contributors generate" ,
1616 "lint-staged" : " lint-staged" ,
17- "docs" : " lerna run docs"
17+ "docs" : " lerna run docs" ,
18+ "prepare" : " husky install" ,
19+ "pre-commit" : " run-s lint-staged test"
1820 },
1921 "devDependencies" : {
2022 "@commitlint/cli" : " ^8.1.0" ,
2426 "commitizen" : " ^3.1.1" ,
2527 "conventional-changelog-cli" : " ^2.1.0" ,
2628 "cz-conventional-changelog" : " ^2.1.0" ,
27- "husky" : " ^3 .0.0" ,
29+ "husky" : " ^7 .0.0" ,
2830 "jest" : " ^26.2.2" ,
2931 "jest-express" : " ^1.10.1" ,
3032 "lerna" : " ^3.22.1" ,
3537 "ts-jest" : " ^26.0.0" ,
3638 "typescript" : " ^3.9.7"
3739 },
38- "husky" : {
39- "hooks" : {
40- "pre-commit" : " run-s lint-staged test" ,
41- "commit-msg" : " commitlint -E HUSKY_GIT_PARAMS"
42- }
43- },
4440 "lint-staged" : {
4541 "*.{js,jsx,ts,tsx}" : [
4642 " prettier --write" ,
You can’t perform that action at this time.
0 commit comments