generator-glu v0.0.2
generator-glu
Yeoman generator
Getting Started
What is Yeoman?
Trick question. It's not a thing. It's this guy:

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
npm install -g yoYeoman Generators
Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.
To install generator-glu from npm, run:
npm install -g generator-gluApp generator
This command will bootstrap the current directory for GLU project...
yo gluSubgenerators
Note: If you didn't use yo glu command to bootstrap your project, you have to place the .yo-rc.json file with the following content
{
"generator-glu": {}
}in the project root directory, in order for subgenerators to work properly.
Action
yo glu:action nameExecuting the command will create the following files:
create src/actions/NameActions.js
create src/actions/NameActionCreator.jsApi
yo glu:api nameExecuting the command will create the following files:
create src/apis/NameApi.jsComponent
yo glu:component nameExecuting the command will create the following files:
create src/components/name/NameView.js
create src/components/name/NameViewController.js
create src/components/name/NameViewEvents.jsComponent with React view (React Component)
yo glu:reactcomponent nameExecuting the command will create the following files:
create src/components/name/NameView.js
create src/components/name/NameViewController.js
create src/components/name/NameViewEvents.js
create src/components/name/NameViewReact.jsPage
yo glu:page nameExecuting the command will create the following files:
create src/pages/name/NameView.js
create src/pages/name/NameViewController.jsStore
yo glu:store nameExecuting the command will create the following files:
create src/stores/NameStore.jsView
yo glu:view nameExecuting the command will create the following files:
create NameView.jsReact view
yo glu:reactview nameExecuting the command will create the following files:
create NameViewReact.jsView controller
yo glu:viewcontroller nameExecuting the command will create the following files:
create NameViewController.jsView events
yo glu:viewevents nameExecuting the command will create the following files:
create NameViewEvents.jsLicense
MIT