Skip to content

Commit

Permalink
Hook up pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeurts committed Mar 18, 2019
1 parent 9a881d8 commit ea2ce35
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit ea2ce35

Please sign in to comment.