From 1b8f85b8eacffd0bc672a73312f3cfb73819b1ab Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Sun, 12 Jan 2020 17:57:58 +1100 Subject: [PATCH] Automaticall install git hooks when running pretest --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e9581dc..9d8a3a3 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "scripts": { "build": "ncc build src/main.ts --minify", "watch": "ncc build src/main.ts --watch", + "pretest": "git config core.hooksPath .githooks", "test": "jest" }, "repository": {