Skip to content

Commit

Permalink
build(deps-dev): add husky for git hook handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Jan 25, 2021
1 parent ca582da commit 2a5b181
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 @@ -48,6 +48,11 @@
"lint:prettier:ci": "prettier . --check --ignore-path .gitignore",
"test": "npm run lint && npm run jest"
},
"husky": {
"hooks": {
"pre-push": "npm run lint:prettier:ci && npm run test"
}
},
"jest": {
"clearMocks": true,
"testEnvironment": "node",
Expand All @@ -72,6 +77,7 @@
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-security": "^1.4.0",
"glob": "^7.1.6",
"husky": "^4.3.8",
"jest": "^26.6.3",
"jsdoc-to-markdown": "^6.0.1",
"jsinspect": "^0.12.7",
Expand Down

0 comments on commit 2a5b181

Please sign in to comment.