Package Exports
- husky/bin/install
- husky/bin/uninstall
- husky/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (husky) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
husky

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.