Skip to content

Commit

Permalink
chore: migrate husky to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
EndBug committed Feb 2, 2024
1 parent bb659a2 commit ca39de0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged
npm run build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"gpr": "ts-node scripts/gpr",
"lint": "npx eslint --ext .ts ./src",
"lint:fix": "npx eslint --ext .ts ./src --fix",
"prepare": "npx husky install && npm run build:prepare",
"prepare": "npx husky && npm run build:prepare",
"prepublishOnly": "([ -d \"lib/\" ] || (echo \"lib folder does not exist\" && exit 1)) && npm run lint:fix && npm run webpack",
"test": "jest",
"test:watch": "jest --watch",
Expand Down

0 comments on commit ca39de0

Please sign in to comment.