Skip to content

Commit

Permalink
Merge pull request #341 from lifion/dependabot/npm_and_yarn/husky-6.0.0
Browse files Browse the repository at this point in the history
Bump husky from 5.2.0 to 6.0.0
  • Loading branch information
jennyEckstein authored Apr 13, 2021
2 parents b151429 + 80454ed commit 306f301
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 11 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"

npx --no-install lint-staged
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 run eslint && npm test
21 changes: 18 additions & 3 deletions package-lock.json

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

14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
"scripts": {
"eslint": "eslint . --ext .js,.json,.md --ignore-pattern='!.*.*'",
"format": "prettier --write . '!coverage'",
"prepare": "check-engines",
"prepare": "husky install",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"test": "jest -c ./.jest.json",
"version": "auto-changelog -p && git add CHANGELOG.md"
},
Expand Down Expand Up @@ -74,17 +77,12 @@
"check-engines": "^1.5.0",
"codecov": "^3.8.1",
"eslint": "^7.23.0",
"husky": "^5.2.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"pinst": "^2.1.6",
"prettier": "^2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run eslint && npm test"
}
},
"@lifion/core-commons": {
"autoDocs": false,
"template": "public",
Expand Down

0 comments on commit 306f301

Please sign in to comment.