0.1.0 • Published 4 years ago
post-checkout-npm-install v0.1.0
post-checkout-npm-install
post-checkout-npm-install runs npm install
when package.json dependencies have
changed post-merge or post-rebase.
npm install post-checkout-npm-install --save-dev
Husky Usage
husky makes git hooks easy.
// package.json
{
"husky": {
"hooks": {
"post-checkout": "post-checkout-npm-install",
}
}
}
Node Usage
const postNpmInstall = require("post-checkout-npm-install");
postNpmInstall([previousHead, newHead, isBranchCheckout], useCI);
0.1.0
4 years ago