diff --git a/.husky/pre-commit b/.husky/pre-commit index d37daa07..041c660c 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx --no-install lint-staged diff --git a/package.json b/package.json index 5d7c5a96..b93422fe 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "cjs/index.js", "module": "esm/index.js", "scripts": { - "prepare": "husky install && npm run build", + "prepare": "husky && npm run build", "released": "npm run build && npm run doc", "doc": "kkt build --app-src ./website", "start": "kkt start --app-src ./website", @@ -60,9 +60,9 @@ "@uiw/reset.css": "~1.0.6", "@wcj/dark-mode": "^1.0.14", "compile-less-cli": "~1.9.0", - "husky": "~7.0.4", + "husky": "^9.0.11", "kkt": "^7.5.5", - "lint-staged": "~12.3.5", + "lint-staged": "^15.2.2", "prettier": "~2.8.0", "react": "~18.0.0", "react-dom": "~18.0.0",