Skip to content

Commit

Permalink
add prepush hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mfix22 committed Jun 25, 2019
1 parent 1bdac1e commit da18832
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
Expand Down

0 comments on commit da18832

Please # to comment.