File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 5
5
/_playwright-results
6
6
/lib
7
7
/node_modules
8
+ /.husky /_
8
9
9
10
# exceptions
10
11
! .gitkeep
11
12
.vercel
13
+
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env sh
2
+ . " $( dirname -- " $0 " ) /_/husky.sh"
3
+
4
+ npm run prettier
5
+ npx lint-staged
Original file line number Diff line number Diff line change 43
43
"jest" : " cross-env NODE_OPTIONS=--experimental-vm-modules jest" ,
44
44
"lint:fix" : " eslint . --fix" ,
45
45
"lint" : " prettier . --check && eslint ." ,
46
- "postinstall" : " opencollective-postinstall" ,
46
+ "postinstall" : " opencollective-postinstall && npx husky install " ,
47
47
"prepare" : " npm run build" ,
48
48
"prettier" : " prettier . --write" ,
49
49
"pub:next" : " cross-env RELEASE_TAG=next sh build/release.sh" ,
57
57
"watch:css" : " npm run build:css -- -w" ,
58
58
"watch:js" : " node build/build.js"
59
59
},
60
- "husky" : {
61
- "hooks" : {
62
- "pre-commit" : " lint-staged"
63
- }
64
- },
65
60
"lint-staged" : {
66
61
"*.js" : " eslint --fix"
67
62
},
You can’t perform that action at this time.
0 commit comments