Skip to content

Commit 07ba54f

Browse files
committed
chore(package): update Husky config to v9
1 parent 286e1cf commit 07ba54f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"test:interop": "node interop.js",
3232
"test:interop:debug": "npm run test:interop -- --fail-command \"$SHELL\"",
3333
"test:unit": "mocha --exit",
34-
"watch": "rollup --watch --config rollup.config.js"
34+
"watch": "rollup --watch --config rollup.config.js",
35+
"prepare": "husky"
3536
},
3637
"lint-staged": {
3738
"**/*.{css,html,js,json,json,md,ts,yml}": [

0 commit comments

Comments
 (0)