File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1+ _
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 1515 "prepublish:npm" : " npm run build" ,
1616 "publish:npm" : " npm publish --access public" ,
1717 "prerelease" : " npm run build" ,
18- "release" : " release-it"
18+ "release" : " release-it" ,
19+ "prepare" : " husky install"
1920 },
2021 "peerDependencies" : {
2122 "@nestjs/common" : " ^8.0.0 || ^9.0.0"
4748 "jsonwebtoken" : " 8.5.1"
4849 },
4950 "lint-staged" : {
50- "*.ts" : [
51- " prettier --write"
52- ]
53- },
54- "husky" : {
55- "hooks" : {
56- "commit-msg" : " commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS" ,
57- "pre-commit" : " lint-staged"
58- }
51+ "**/*.{ts,json}" : []
5952 },
6053 "repository" : {
6154 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments