Automaticall install git hooks when running pretest
This commit is contained in:
parent
08b0276e0f
commit
1b8f85b8ea
|
@ -11,6 +11,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "ncc build src/main.ts --minify",
|
"build": "ncc build src/main.ts --minify",
|
||||||
"watch": "ncc build src/main.ts --watch",
|
"watch": "ncc build src/main.ts --watch",
|
||||||
|
"pretest": "git config core.hooksPath .githooks",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue