GitHub - typicode/husky: Modern native Git hooks made easy 🐶 woof!
Modern native Git hooks made easy Husky improves your commits and more 🐶 woof! Edit package.json > prepare script and run it once: npm set-script prepare npm run prepare Add a hook: npx husky add .husky/pre-commit git add .husky/pre-commit Make a commit: git commit -m # `npm test` will run every time you commit For more use cases (project in sub-directory, custom directory, CI support, ...), see documentation.
https://github.com/typicode/husky