Skip to content

Commit

Permalink
Updated husky.
Browse files Browse the repository at this point in the history
  • Loading branch information
bre1470 committed Mar 2, 2023
1 parent 2c76743 commit 6242572
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 86 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 test
96 changes: 14 additions & 82 deletions package-lock.json

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

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@
"dependencies": {},
"devDependencies": {
"chai": "^4.3.7",
"husky": "^0.14.3",
"husky": "^8.0.3",
"mocha": "^10.2.0"
},
"scripts": {
"lint": "standard --fix",
"precommit": "npm test",
"test": "mocha test/test.js && mocha test/utilities.js"
"test": "husky install && mocha test/test.js && mocha test/utilities.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 6242572

Please sign in to comment.