Skip to content

Commit 64985d0

Browse files
committed
chore: modify husky config. (#216)
1 parent 3f893c3 commit 64985d0

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.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
@@ -10,7 +10,7 @@
1010
"css:build:dist": "lerna exec --scope @uiw/react-markdown-editor -- compile-less -d src --combine markdown-editor.css --rm-global",
1111
"test": "lerna exec --scope @uiw/react-markdown-editor -- tsbb test --env=jsdom",
1212
"coverage": "lerna exec --scope @uiw/react-markdown-editor -- tsbb test --env=jsdom --coverage --bail",
13-
"prepare": "husky install",
13+
"prepare": "husky",
1414
"publish": "lerna publish from-package --yes --no-verify-access",
1515
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
1616
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",

0 commit comments

Comments
 (0)