npm install or bower install if package.json changed, when git pull
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.
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
this tool is inspired by sindresorhus's git pull hook.
thanks sindresorhus.