yosuke-furukawa / hookin

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:JavaScript 100.0%