From f0b1b85e2ba86cafc85d91f844ebb09c081c8ed2 Mon Sep 17 00:00:00 2001 From: 3y3 <3y3@ya.ru> Date: Sun, 11 Aug 2024 17:42:17 +0300 Subject: [PATCH] fix: Do not rewrite husky npm script --- scripts/modify-package.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/modify-package.js b/scripts/modify-package.js index 2514d21..f3453a6 100644 --- a/scripts/modify-package.js +++ b/scripts/modify-package.js @@ -24,6 +24,5 @@ function configure(command, impl, strict = true) { configure('lint', 'lint update && lint'); configure('lint:fix', 'lint update && lint fix'); configure('pre-commit', 'lint update && lint-staged'); -configure('prepare', 'husky install || true', false); writeFileSync(filename, JSON.stringify(pkg, null, 2), 'utf8'); \ No newline at end of file