Skip to content

Commit

Permalink
Removed pre-push, testing related files only in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena committed Feb 7, 2019
1 parent d39210f commit bd375eb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,13 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "echo 'running tests...' && npm run test"
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"client/app/**/*.{js,jsx}": "npm run lint:base"
"client/app/**/*.{js,jsx}": [
"npm run lint:base",
"npm run test -- --bail --findRelatedTests"
]
}
}

0 comments on commit bd375eb

Please sign in to comment.