Skip to content

Instantly share code, notes, and snippets.

@lydemann
Created July 12, 2018 17:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lydemann/328d22f7573ad0e01f529e73c27b68c7 to your computer and use it in GitHub Desktop.
Save lydemann/328d22f7573ad0e01f529e73c27b68c7 to your computer and use it in GitHub Desktop.
Husky precommit hooks with concurrently
"husky": {
"hooks": {
"pre-commit": "concurrently --kill-others \"npm run lint\" \"npm run test\" \"npm run build\"",
"pre-push": "git pull origin master"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment