From 5043ca02d609e8a552f3694b5b8ad16bf7fd183c Mon Sep 17 00:00:00 2001 From: Nemi Shah Date: Tue, 15 Oct 2019 18:54:45 +0530 Subject: [PATCH] Add postinstall --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7306ebd4..a2986799 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,8 @@ "pretty-check": "npx prettier --check --config .prettierrc \"*.ts\" \"*.js\" \"test/**/*.js\"", "build-pretty": "npm run build && npm run pretty", "set-up-hooks": "cp hooks/pre-commit.sh .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit", - "pack": "./node_modules/.bin/webpack -p" + "pack": "./node_modules/.bin/webpack -p", + "postinstall": "npm run set-up-hooks" }, "repository": { "type": "git",