Skip to content

Commit ae7c0c9

Browse files
committed
chore(husky): upgraded the config to match the installed version
1 parent 830b8c8 commit ae7c0c9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm test

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@
1919
"build:js": "rollup -c",
2020
"build:storybook": "build-storybook -o dist/storybook --quiet",
2121
"prepack": "run-s build",
22-
"precommit": "npm test",
23-
"commitmsg": "commitlint -e",
24-
"semantic-release": "semantic-release"
22+
"semantic-release": "semantic-release",
23+
"prepare": "husky install"
2524
},
2625
"publishConfig": {
2726
"access": "public"

0 commit comments

Comments
 (0)