Labs wrapper for Yeoman
This wrapper of yeoman simply allows the use of labs
in place of the common
use of yo
Installation
The project has not yet been deployed to <npmjs.com> yet.
npm i -g @lambdalabs/labs
This will install the main cli wrapper along with all Labs generators as
dependancies.
Usage
The labs
cli command is just a wrapper to the yeoman
yo
command.
Examples
- Run the SPA generator (base single page app starter)
Generators
Development setup
To develop locally it will be easiest to link the labs
command and any generators being developed using npm.
-
link the generator in the labs-yo project folder.
- Go to the cloned and npm-installed project folder
npm link
- Cd back to this
labs-yo
folder npm link "name-of-package"
- Example:
npm link "generator-spa
-
link this project to the global npm commands.
npm link
The labs
command is now globally available.
labs --help
should render the yo
command options.