Skip to content

Commit 7286cee

Browse files
authored
Updated husky integration (#554)
2 parents 90fdf24 + fff2e2e commit 7286cee

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npm run husky:commit-msg

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npm run husky:pre-commit

.husky/pre-push

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npm run husky:pre-push

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"husky:commit-msg": "echo 'No commit message hook'",
6666
"husky:pre-commit": "npx --no lint-staged",
6767
"husky:pre-push": "npm test",
68-
"prepare": "npm run clean && npm run build && npx --no husky install",
68+
"prepare": "npm run clean && npm run build",
6969
"start": "node bin/index.js",
7070
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
7171
"version": "changelog-updater && git add ."

0 commit comments

Comments
 (0)