Skip to content

Commit

Permalink
fix: Husky install (#3137)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Dec 11, 2023
1 parent 5e0093e commit 921b210
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

cd ./frontend && npx lint-staged --allow-empty
1 change: 0 additions & 1 deletion frontend/.husky/_/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions frontend/.husky/pre-commit

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"kill": "kill -9 $(lsof -ti tcp:4444)",
"test:bundle": "cross-env E2E=1 npm run bundle",
"postinstall": "npm run env",
"husky:install": "cd ../ && husky install ./frontend/husky && cd ./frontend",
"husky:install": "cd ../ && husky install",
"test:bundle:staging": "cross-env E2E=1 ENV=staging npm run bundle",
"test:dev": "cross-env NODE_ENV=production E2E=true E2E_DEV=true ts-node -T ./e2e/index.cafe",
"test:devBundle": "npm run test:bundle && npm run test:dev",
Expand Down

0 comments on commit 921b210

Please sign in to comment.