2014-06-23 15:47:42 +02:00
Fix
2014-06-23 15:32:17 +02:00
2014-06-23 14:15:29 +02:00
2014-06-23 14:15:29 +02:00
2014-06-23 14:15:29 +02:00
2014-06-23 14:15:29 +02:00
2014-06-23 14:15:29 +02:00
2014-06-23 15:47:42 +02:00
2014-06-23 14:19:23 +02:00

husky NPM version Build Status

husky prevents bad commit or push using Git hooks.

🐶 woof!

$ npm install husky --save-dev
// package.json
{
  "scripts": {
    "precommit": "npm test",
    "prepush": "npm test"
  }
}
git commit -m "Keep calm and commit"

Both npm scripts are optional, existing hooks aren't replaced and adding -n to your git commands lets you bypass hooks.

To uninstall husky, simply run npm rm husky --save-dev.

S
Description
Git hooks made easy 🐶 woof!
Readme MIT
5.1 MiB
Languages
JavaScript 92.1%
Shell 7.9%