From ea2ce3544b24b045e50ac6cf9b4e9544728e2604 Mon Sep 17 00:00:00 2001 From: Jim Geurts Date: Mon, 18 Mar 2019 16:17:32 -0500 Subject: [PATCH] Hook up pre-commit --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index 7f97ea1..9a9a5ce 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,11 @@ "lint": "tslint --fix -p tsconfig.lint.json -c tslint.json -t stylish", "prepublishOnly": "npm run build && npm run lint && npm run test" }, + "husky": { + "hooks": { + "pre-commit": "npm run lint" + } + }, "repository": { "type": "git", "url": "git+https://github.com/mpirik/bigal.git" @@ -46,6 +51,7 @@ "husky": "1.3.1", "mocha": "6.0.2", "postgres-pool": "1.2.0", + "strict-event-emitter-types": "2.0.0", "ts-mockito": "2.3.1", "ts-node": "8.0.3", "tslint": "5.13.1",