hookin

npm install or bower install if package.json changed, when git pull

Downloads
10
Stars
13
Committers
4

hookin Build Status

Would you like to call "npm install" when package.json is changed?

hookin could solve the problem.

npm install runs if package.json is changed when git-pull.

hookin is a cli tool for github pull hook.

HOW TO USE

INSTALL:

$ npm install hookin -g

USAGE:

$ hookin package.json "npm install && npm prune"
$ hookin bower.json "bower install && bower prune"
$ hookin .scss "compasss compile"

# Remove hook
$ hookin --uninstall package.json

CREDITS

this tool is inspired by sindresorhus's git pull hook.

thanks sindresorhus.