Skip to content

Commit

Permalink
build: update husky (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Nov 5, 2024
1 parent 25388cd commit 832bae5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
#!/usr/bin/env sh
# shellcheck disable=SC1091
. "$(dirname -- "$0")/_/husky.sh"

npm run package
git add -A dist
13 changes: 7 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"main": "dist/index.js",
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"bundle": "npm run format:write && npm run package",
Expand All @@ -25,7 +25,7 @@
"package:watch": "npm run package -- --watch",
"test": "jest",
"all": "npm run format:write && npm run lint && npm run test && npm run package",
"prepare": "husky install"
"prepare": "husky"
},
"license": "MIT",
"jest": {
Expand Down Expand Up @@ -73,7 +73,7 @@
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"husky": "^9.1.6",
"jest": "^29.6.3",
"prettier": "^3.0.2",
"prettier-eslint": "^15.0.1",
Expand Down

0 comments on commit 832bae5

Please sign in to comment.