File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env sh
2
+ . " $( dirname -- " $0 " ) /_/husky.sh"
3
+
4
+ lint-staged
Original file line number Diff line number Diff line change 16
16
"publish-next" : " npm run build && npm publish dist --tag next" ,
17
17
"publish-latest-only" : " npm run build && npm publish dist" ,
18
18
"publish-latest" : " npm run publish-latest-only && npm dist-tag add `jq '.name' package.json -r`@`jq '.version' package.json -r` next" ,
19
- "prettier" : " prettier --write 'bin/*.js' 'src/**/*.ts' 'tests/**/*.ts'"
19
+ "prettier" : " prettier --write 'bin/*.js' 'src/**/*.ts' 'tests/**/*.ts'" ,
20
+ "prepare" : " husky install"
20
21
},
21
22
"devDependencies" : {
22
23
"@angular/animations" : " 13.3.10" ,
68
69
" **/test-init.ts"
69
70
]
70
71
},
71
- "husky" : {
72
- "hooks" : {
73
- "pre-commit" : " lint-staged"
74
- }
75
- },
76
72
"lint-staged" : {
77
73
"*.{js,json,ts,md}" : [
78
- " prettier --write" ,
79
- " git add"
74
+ " prettier --write"
80
75
]
81
76
}
82
77
}
You can’t perform that action at this time.
0 commit comments