From ab17af274d443e26b500f42a644ec04c8dc4b7ab Mon Sep 17 00:00:00 2001 From: Yash-Singh1 Date: Tue, 30 Nov 2021 17:07:14 -0800 Subject: [PATCH] chore: install husky hooks on install --- .husky/pre-commit | 0 package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/package.json b/package.json index ec69c599a..9116d0ee7 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "test": "yarn lint && jest src/.*", "test:watch": "jest --watch src", "prepublishOnly": "yarn build && yarn test", - "prepare": "yarn build" + "prepare": "husky install && yarn build" }, "repository": { "type": "git",