Skip to content

Commit

Permalink
FIX: Husky v10 prep (#430)
Browse files Browse the repository at this point in the history
* FIX: Husky v10 prep

* Update dist/index.js
  • Loading branch information
ScottBrenner authored Aug 20, 2024
1 parent c422b7b commit d9f421f
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 lint-staged
npm run all
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "ncc build index.js --out dist --license licenses.txt",
"format": "prettier --write .",
"all": "npm run format && npm test && npm run build",
"prepare": "husky install"
"prepare": "husky"
},
"license": "MIT License",
"dependencies": {
Expand Down

0 comments on commit d9f421f

Please sign in to comment.