booster-pack
v0.0.1
Published
Component boilerplate manager.
Downloads
8
Readme
Booster Pack CLI
Booster Packs are small concise boilerplate files (eg. React component js/scss).
Installation
npm install -g booster-pack
Usage
Commands
ls
Lists booster-pack aliases and their git urls.
booster-pack ls
use
Create boilerplate files inside a directory with the given name in cwd.
booster-pack use <alias> <name>
save
Create an alias for a booster pack.
booster-pack save <alias> <github_repo>
remove
Remove an alias.
booster-pack remove <alias>
Getting booster packs
- Save via cli
booster-pack save <alias> <github_repo>
- Manually, you can edit ~.boosterpacksrc.json
{
"boosterPacks": {
<alias>: <github_repo>
}
}
Creating booster packs
Booster packs are just git repos that consists of your boilerplate files. Upload onto github and just save it locally as an alias. I also added a very simple templating engine so it can replace the variable name inside your boilerplate files. example.