Add husky

This commit is contained in:
Danny McCormick 2019-06-05 15:23:02 -04:00
parent 3b7fa72b60
commit aa49102c9c
4 changed files with 219 additions and 10 deletions

View file

@ -32,10 +32,16 @@
"@types/jest": "^24.0.13",
"@types/node": "^12.0.4",
"@types/semver": "^6.0.0",
"husky": "^2.3.0",
"jest": "^24.8.0",
"jest-circus": "^24.7.1",
"prettier": "^1.17.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.1"
},
"husky": {
"hooks": {
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
}
}
}