Package Exports
- husky
- husky/lib
- husky/lib/bin
- husky/lib/bin.js
- husky/lib/index
- 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
Modern native Git hooks made easy
Husky improves your commits and more 🐶 woof!
Install
npm install husky --save-devUsage
Edit package.json > prepare script and run it once:
npm set-script prepare "husky install"
npm run prepareAdd a hook:
npx husky add .husky/pre-commit "npm test"
git add .husky/pre-commitMake a commit:
git commit -m "Keep calm and commit"
# `npm test` will run