Skip to content

Commit 79d2aa0

Browse files
committed
ci: modify husky config.
1 parent 87a7453 commit 79d2aa0

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 --no-install lint-staged

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type-check": "tsc --noEmit",
1111
"test": "tsbb test",
1212
"coverage": "tsbb test --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)