Skip to content

Commit

Permalink
Updates Husky configs (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrrrzzt committed Jul 18, 2021
1 parent 48f7478 commit bb1655b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"coverage": "nyc ava",
"coveralls": "nyc ava && nyc report --reporter=lcov && cat coverage/lcov.info | coveralls",
"standard-fix": "standard --fix",
"refresh": "rm -rf node_modules && rm package-lock.json && npm install"
"refresh": "rm -rf node_modules && rm package-lock.json && npm install",
"prepare": "husky install"
},
"keywords": [
"bigfive",
Expand All @@ -57,10 +58,5 @@
},
"dependencies": {
"knuth-shuffle": "1.0.8"
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}

0 comments on commit bb1655b

Please sign in to comment.