Use husky to manage deps (#7)

* Add husky

* Update docs

* Don't ignore node_modules
This commit is contained in:
Danny McCormick 2019-06-17 09:32:08 -04:00 committed by GitHub
parent 68c1f30223
commit 075e678472
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 222 additions and 14 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/*"
}
}
}