README
electrode-bolt-cli
electrode
boltcommand line interface.
Install this globally to have access to the bolt command. This is not bolt itself, that can be found at walmartreact/electrode-bolt.
npm install -g electrode-bolt-cli
Usage
Local Bolt dependency
Within a package that has electrode-bolt installed as a dependency:
To list bolt tasks, you can simply run bolt.
To run a bolt task, run bolt <task>. If no task exists, bolt will let you know.
Notes
- This tool isn't required for using the
electrode-bolttool, but it allows you to runbolttasks from the command line easily rather than having to have bolt itself installed globally or having all of yournpm runtasks directly linked to every taskelectrode-boltprovides.
Contributing
Scripts
| Command | Action |
| link:dev | Performs a symlink to your npm prefix -g for ease of development |
| dev | Watches src for changes, transpiles to bin/bolt with babel |
| build | Makes bin directory if it doesn't exist, transpiles src to bin/bolt with babel |
Publishing
src/bolt-cli.js is built to bin/bolt on npm run prepublish