Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Update husky to 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Nov 14, 2021
1 parent 2b9bf67 commit 9ed0644
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"check": "run-s clean && run-p -c --aggregate-output check:*",
"clean:declarations": "rm -rf $(find . -maxdepth 2 -type f -name '*.d.ts')",
"clean": "run-p clean:*",
"prepare": "husky install",
"prepublishOnly": "run-s build",
"sync-gh-actions": "ghat",
"test-ci": "run-s test:*",
Expand All @@ -41,11 +42,6 @@
"test:mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js'",
"test": "run-s check test:*"
},
"husky": {
"hooks": {
"pre-push": "npm test"
}
},
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
Expand Down Expand Up @@ -90,7 +86,7 @@
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-unicorn": "^35.0.0",
"ghat": "^0.14.0",
"husky": "^4.0.3",
"husky": "^7.0.4",
"installed-check": "^5.0.0-1",
"mocha": "^9.1.3",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit 9ed0644

Please sign in to comment.