File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
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+ $( npm bin) /pretty-quick --staged && $( npm bin) /lint-staged
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+
4+ npm test
Original file line number Diff line number Diff line change 1111 "lint" : " eslint 'src/**'" ,
1212 "format" : " pretty-quick" ,
1313 "test" : " jest --coverage" ,
14- "test:watch" : " jest --watch"
14+ "test:watch" : " jest --watch" ,
15+ "prepare" : " husky install"
1516 },
1617 "author" : {
1718 "name" : " Adobe Systems" ,
1819 "url" : " http://adobe.com" ,
19202021 },
21- "husky" : {
22- "hooks" : {
23- "pre-commit" : " pretty-quick --staged && lint-staged" ,
24- "pre-push" : " npm test"
25- }
26- },
2722 "lint-staged" : {
2823 "*.js" : [
2924 " npm run lint -- --fix"
You can’t perform that action at this time.
0 commit comments