Skip to content

Commit

Permalink
chore: upgrade husky to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Oct 13, 2022
1 parent ffe2c45 commit 55bad9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm start validate
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"main": "dist/index.js",
"types": "types/index.d.ts",
"scripts": {
"prepare": "husky install",
"start": "nps",
"test": "nps test",
"precommit": "opt --in pre-commit --exec \"npm start validate\""
"test": "nps test"
},
"files": [
"dist",
Expand Down Expand Up @@ -45,12 +45,11 @@
"babel-jest": "^25.0.0",
"chalk": "^2.1.0",
"eslint-config-kentcdodds": "^20.0.1",
"husky": "^2.4.1",
"husky": "^8.0.1",
"jest": "^25.0.0",
"jest-cli": "^25.0.0",
"nps": "^5.7.1",
"nps-utils": "^1.3.0",
"opt-cli": "^1.5.2",
"prettier-eslint-cli": "^7.0.0",
"rimraf": "^2.5.4",
"semantic-release": "^15.13.16",
Expand Down

0 comments on commit 55bad9a

Please sign in to comment.