From c70af5e2443691833307c1e40d15f2f7081817fe Mon Sep 17 00:00:00 2001 From: xusd320 Date: Fri, 19 Jul 2024 17:09:53 +0800 Subject: [PATCH] fix: husky --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b7b5912..7938e58 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "ava": "^6.0.1", "cheerio": "^1.0.0-rc.12", "htmlparser-benchmark": "^1.1.3", - "husky": "^8.0.3", + "husky": "^8.0.0", "js-beautify": "^1.15.1" }, "ava": { @@ -55,7 +55,8 @@ "version": "napi version", "test": "ava", "patchdts": "cat ./patch.d.ts >> ./index.d.ts", - "benchmark": "node ./benchmark/benchmark.mjs" + "benchmark": "node ./benchmark/benchmark.mjs", + "prepare": "husky install" }, "repository": "https://github.com/niddle-rs/niddle", "packageManager": "yarn@4.3.1",