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",