From 1e01fadf3a4c6fae72851e2ce6c66ef424b88887 Mon Sep 17 00:00:00 2001 From: Hsiao-Ting Yu Date: Sat, 19 Jun 2021 21:57:40 +0800 Subject: [PATCH] fix: skip husky when building --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 149731f..0ba9510 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "lint": "eslint", "test": "jest --coverage", - "build": "rm -rf dist/ && tsc && cp package.json dist/ && cp README.md dist/", + "build": "rm -rf dist/ && tsc && cp README.md dist/ && jq 'del(.scripts.prepare)' package.json > dist/package.json", "prepare": "husky install" }, "devDependencies": {