diff --git a/package.json b/package.json index 2d7790eb6..e4e6caa97 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,8 @@ "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", - "postinstall": "npx husky-init && xcopy /E /I /Y sys\\hooks\\* .husky\\", - "lint-staged": "lint-staged", - "prepare": "husky install" + "postinstall": "git config core.hooksPath .git-hooks", + "lint-staged": "lint-staged" }, "devDependencies": { "@eslint/js": "^9.19.0", @@ -17,8 +16,7 @@ "globals": "^15.14.0", "lint-staged": "^15.4.3", "prettier": "^3.4.2", - "vitepress": "^1.6.3", - "husky": "^8.0.0" + "vitepress": "^1.6.3" }, "lint-staged": { "*.{js,ts,vue}": [ @@ -28,8 +26,5 @@ "*.py": [ "env/scripts/pylint" ] - }, - "dependencies": { - "husky": "^9.1.7" } }