File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 55/_playwright-results
66/lib
77/node_modules
8+ /.husky /_
89
910# exceptions
1011! .gitkeep
1112.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 4343 "jest" : " cross-env NODE_OPTIONS=--experimental-vm-modules jest" ,
4444 "lint:fix" : " eslint . --fix" ,
4545 "lint" : " prettier . --check && eslint ." ,
46- "postinstall" : " opencollective-postinstall" ,
46+ "postinstall" : " opencollective-postinstall && npx husky install " ,
4747 "prepare" : " npm run build" ,
4848 "prettier" : " prettier . --write" ,
4949 "pub:next" : " cross-env RELEASE_TAG=next sh build/release.sh" ,
5757 "watch:css" : " npm run build:css -- -w" ,
5858 "watch:js" : " node build/build.js"
5959 },
60- "husky" : {
61- "hooks" : {
62- "pre-commit" : " lint-staged"
63- }
64- },
6560 "lint-staged" : {
6661 "*.js" : " eslint --fix"
6762 },
You can’t perform that action at this time.
0 commit comments