Skip to content

Commit

Permalink
build: 调整 husky 配置以适配新版本
Browse files Browse the repository at this point in the history
  • Loading branch information
suiyun39 committed Mar 13, 2024
1 parent 0498f90 commit 93da05a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm exec lint-staged
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build": "tsc && tsup",
"lint": "eslint .",
"test": "jest",
"prepare": "husky install"
"prepare": "husky"
},
"exports": {
".": {
Expand Down

0 comments on commit 93da05a

Please sign in to comment.