post-merge-install
v0.5.1
Published
A hook to run 'npm install/script' post-merge via husky 🐶
Downloads
9,816
Readme
post-merge-install
Runs 🏃 npm install/script
post merge/rebase and when package.json
or package-lock.json
changes.
Install
npm install post-merge-install --save-dev
or globally as
npm install -g post-merge-install
Prerequisite
Usage
$ npx husky add .husky/post-merge 'post-merge-install "yarn install"'
$ npx husky add .husky/post-rebase 'post-merge-install "bolt install"'
Custom script
post-merge-install
can be used with custom scripts as well.
$ post-merge-install 'yarn install'
$ post-merge-install 'lerna' 'bootstrap'
Options
Alias
You can also use the alias pmi
instead of post-merge-install
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!