mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-15 19:51:20 +08:00
chore: update husky config.
This commit is contained in:
3
.husky/pre-commit
vendored
3
.husky/pre-commit
vendored
@ -1,4 +1 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx --no-install lint-staged
|
||||
|
@ -8,7 +8,7 @@
|
||||
"funding": "https://jaywcjlove.github.io/#/sponsor",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"prepare": "husky install",
|
||||
"prepare": "husky",
|
||||
"build": "refs-cli",
|
||||
"start": "refs-cli --watch",
|
||||
"prettier": "prettier --write '**/*.{mjs,css,json,prettierrc,lintstagedrc}'",
|
||||
|
Reference in New Issue
Block a user