npm-git-submodules
v0.1.8
Published
A NPM hook for fetching git submodules
Downloads
42
Readme
npm-git-submodules
A NPM hook for fetching git submodules
Install
npm install --save-dev npm-git-submodules
Usage
Here an example of using git-submodules
hook in package.json
:
{
"scripts": {
"prepare": "git-submodules",
// or
"postinstall": "git-submodules"
}
}
Or using with gitHooks
:
{
"gitHooks": {
"post-checkout": "git-submodules --continue-on-error"
}
}
For usage help run:
npm run git-submodules -- --help
# or
yarn run git-submodules --help
License
Licensed under the MIT license.