Skip to content

Commit fd18587

Browse files
chore: husky migration (#1584)
1 parent 96e6ff4 commit fd18587

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

.husky/commit-msg

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

.husky/pre-commit

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

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
3737
"pretest": "npm run lint",
3838
"test": "npm run test:coverage",
39-
"prepare": "husky install && npm run build",
39+
"prepare": "husky && npm run build",
4040
"release": "standard-version"
4141
},
4242
"files": [

0 commit comments

Comments
 (0)