From f2425030615eed08979b7ecbabc8db371b0af2d3 Mon Sep 17 00:00:00 2001 From: koy <369491420@qq.com> Date: Fri, 22 Dec 2023 13:51:56 +0800 Subject: [PATCH] test-1: keep hooks and only do preinstall. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6ef799c3f..775c63ccc 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "prettier": "prettier . --write", "lint:fix": "eslint . --fix", "lint": "prettier . --check && eslint .", - "postinstall": "opencollective-postinstall && sh build/husky.sh", + "postinstall": "opencollective-postinstall && npx husky install", "prepare": "npm run build", "pub:next": "cross-env RELEASE_TAG=next sh build/release.sh", "pub": "sh build/release.sh", @@ -119,4 +119,4 @@ "creator", "generator" ] -} +} \ No newline at end of file