Skip to content

Commit

Permalink
chore(deps): update dependency husky to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
clok committed Mar 18, 2021
1 parent 55ec2fb commit 5f36838
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 181 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
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 run lint
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
6 changes: 0 additions & 6 deletions .huskyrc.json

This file was deleted.

173 changes: 4 additions & 169 deletions package-lock.json

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

9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"test:results": "open ./coverage/lcov-report/index.html",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"version": "git-chglog -o CHANGELOG.md --next-tag v$(grep '\\\"version\\\":' package.json | grep -v git-chglog | awk -F '\\\"' '{print $4}') && git add CHANGELOG.md"
"version": "git-chglog -o CHANGELOG.md --next-tag v$(grep '\\\"version\\\":' package.json | grep -v git-chglog | awk -F '\\\"' '{print $4}') && git add CHANGELOG.md",
"prepare": "husky install"
},
"repository": {
"type": "git",
Expand All @@ -35,10 +36,6 @@
"rollbar",
"stats"
],
"pre-push": [
"lint",
"test"
],
"jest": {
"clearMocks": true,
"coverageDirectory": "<rootDir>/coverage",
Expand Down Expand Up @@ -81,7 +78,7 @@
"eslint": "7.22.0",
"eslint-config-goodway": "3.1.2",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.8",
"husky": "5.1.3",
"jest": "26.6.3",
"nock": "13.0.11"
},
Expand Down

0 comments on commit 5f36838

Please sign in to comment.