Skip to content

Commit

Permalink
bump husky
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Aug 19, 2021
1 parent e8de36e commit 2d6f217
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 235 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
232 changes: 4 additions & 228 deletions package-lock.json

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

10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"build": "node tools/build.js",
"test": "gulp lint"
"test": "gulp lint",
"prepare": "husky install"
},
"author": "Jan T. Sott",
"license": "Zlib",
Expand All @@ -24,15 +25,10 @@
"gulp-debug": "^4.0.0",
"gulp-eslint": "^6.0.0",
"gulp-jsonlint": "^1.3.2",
"husky": "^4.2.5",
"husky": "^7.0.0",
"makensis": "^0.21.1",
"rimraf": "^3.0.2",
"sort-keys": "^4.0.0",
"util": "^0.12.3"
},
"husky": {
"hooks": {
"pre-commit": "npm run test"
}
}
}

0 comments on commit 2d6f217

Please sign in to comment.