npm-hooks-git

0.1.28 • Public • Published

npm git hooks

Introduction

Easily trigger npm scripts for your nodejs projects using git hooks

How it works

After install, package copies its own hooks scripts into .git/hooks folder which links to the projects top-level githooks folder. It is assumed that there will be npm scripts that reflect the types of githooks configured for the project. For example. If your project has pre-commit.js hooks, then an npm script named npm-pre-commit will be triggered during a commit.

Readme

Keywords

Package Sidebar

Install

npm i npm-hooks-git

Weekly Downloads

6

Version

0.1.28

License

ISC

Unpacked Size

3.68 kB

Total Files

9

Last publish

Collaborators

  • bigmeech