Husky
Git hooks made easy
...After that, it's Husky's responsibility to manage at which point in the Git lifecycle your scripts will run.
Husky helps to improve your commits, lets you run tests, lint code and more when you commit or push. It is very lightweight, with zero dependencies and is capable of supporting all Git hooks.