thefirstspine-sharer
v0.1.2
Published
`sharer` is a simple CLI to add shared assets accross apps using Git submodules. It also add required NPM dependencies in the `package.json` file of the shared assets.
Downloads
5
Readme
Sharer
sharer
is a simple CLI to add shared assets accross apps using Git submodules. It also add required NPM dependencies in the package.json
file of the shared assets.
Installation
npm i thefirstspine-sharer -g
Use
To install the shared asset use:
add-shared [...repository module] ?[--src="./src"]
Options
--src
- the source directory where the@shared
directory should be cloned.
Build
rollup src/main.js --file bin/add-shared.js --banner "#!/usr/bin/env node"
License
Sharer is MIT licensed.