Skip to content

Commit 252921d

Browse files
committed
chore: update husky config.
1 parent ba439b5 commit 252921d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-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 pretty-quick --staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build:doc": "lerna exec --scope website -- npm run build",
77
"doc": "lerna exec --scope website -- npm run start",
88
"start": "lerna exec --scope @uiw/* -- npm run watch",
9-
"prepare": "npm run build && husky install",
9+
"prepare": "npm run build && husky",
1010
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
1111
"pretty-quick": "pretty-quick --staged",
1212
"version": "lerna version --no-changelog --no-git-tag-version --no-push",

0 commit comments

Comments
 (0)