From 3ad117891b6ad7b7fdba00ab44372c3566a0cc0d 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:33:57 +0800 Subject: [PATCH] chore: test git hooks --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5c508f0..c999364 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,10 @@ "tslib": "^2.0.1", "typescript": "^4.0.2" }, - "gitHooks": { - "pre-commit": "lint-staged" + "husky": { + "hooks": { + "pre-commit": "lint-staged" + } }, "lint-staged": { "*.{js,jsx,vue,ts,tsx}": [