Package Exports
- post-checkout-npm-install
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (post-checkout-npm-install) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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-devHusky 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);