diff --git a/package.json b/package.json index ab62279..ee83399 100644 --- a/package.json +++ b/package.json @@ -89,9 +89,11 @@ "template", "element-plus" ], - "gitHooks": { - "pre-commit": "lint-staged", - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + "husky": { + "hooks": { + "pre-commit": "lint-staged", + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + } }, "lint-staged": { "*.{js,vue}": [