Skip to content

Commit

Permalink
chore: bump husky from 4.3.8 to 7.0.2 (hexojs#4763)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Sep 27, 2021
1 parent 9c9b2a5 commit b3bd7d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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"

npx lint-staged
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"eslint": "eslint .",
"test": "mocha test/index.js",
"test-cov": "nyc --reporter=lcovonly npm test -- --no-parallel"
"test-cov": "nyc --reporter=lcovonly npm test -- --no-parallel",
"prepare": "husky install"
},
"directories": {
"lib": "./lib",
Expand Down Expand Up @@ -70,18 +71,13 @@
"eslint": "^7.0.0",
"eslint-config-hexo": "^4.1.0",
"hexo-renderer-marked": "^4.0.0",
"husky": "^4.2.5",
"husky": "^7.0.2",
"lint-staged": "^11.0.0",
"mocha": "^9.1.1",
"nyc": "^15.0.0",
"sinon": "^11.1.2"
},
"engines": {
"node": ">=12.13.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}

0 comments on commit b3bd7d4

Please sign in to comment.