Skip to content

Commit 128296c

Browse files
committedSep 13, 2023
chore(husky): updated the config to match the installed version
1 parent 097a18a commit 128296c

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed
 

‎.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

‎.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

‎.huskyrc.json

-1
This file was deleted.

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"prebuild": "run-s clean",
2626
"prepack": "run-s build",
2727
"build": "npm-run-all --print-label --parallel build:*",
28-
"build:svg": "svgo -f img -o dist/img --disable removeViewBox"
28+
"build:svg": "svgo -f img -o dist/img --disable removeViewBox",
29+
"prepare": "husky install"
2930
},
3031
"devDependencies": {
3132
"ban-sensitive-files": "1.10.0",

0 commit comments

Comments
 (0)
Please sign in to comment.