Automaticall install git hooks when running pretest

This commit is contained in:
Thomas Eizinger 2020-01-12 17:57:58 +11:00
parent 08b0276e0f
commit 1b8f85b8ea
No known key found for this signature in database
GPG Key ID: 651AC83A6C6C8B96
1 changed files with 1 additions and 0 deletions

View File

@ -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": {