From 03077c8e3e2cd3f9a4549bbbd8a273dfc93cc0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E6=B2=9B=E6=9D=83?= Date: Tue, 15 Jun 2021 15:27:47 +0800 Subject: [PATCH] chore: test git hooks --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c999364..5c508f0 100644 --- a/package.json +++ b/package.json @@ -53,10 +53,8 @@ "tslib": "^2.0.1", "typescript": "^4.0.2" }, - "husky": { - "hooks": { - "pre-commit": "lint-staged" - } + "gitHooks": { + "pre-commit": "lint-staged" }, "lint-staged": { "*.{js,jsx,vue,ts,tsx}": [