Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.

Commit 03c942c

Browse files
chore: fix Husky (#847)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 6127795 commit 03c942c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"test:ci": "run-s test:ci:*",
2727
"test:dev:ava": "ava",
2828
"test:ci:ava": "c8 -r lcovonly -r text -r json ava",
29+
"prepare": "husky install node_modules/@netlify/eslint-config-node/.husky/",
2930
"prepublishOnly": "run-s prepublishOnly:*",
3031
"prepublishOnly:checkout": "run-local \"git checkout main\"",
3132
"prepublishOnly:pull": "run-local \"git pull\"",
@@ -65,6 +66,7 @@
6566
"ava": "^4.0.0",
6667
"c8": "^7.11.0",
6768
"date-fns": "^2.15.0",
69+
"husky": "^7.0.4",
6870
"is-plain-obj": "^3.0.0",
6971
"sinon": "^12.0.0"
7072
},
@@ -78,11 +80,6 @@
7880
"engines": {
7981
"node": "^12.20.0 || ^14.14.0 || >=16.0.0"
8082
},
81-
"husky": {
82-
"hooks": {
83-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
84-
}
85-
},
8683
"ava": {
8784
"timeout": "120s",
8885
"verbose": true

0 commit comments

Comments
 (0)