Yeoman generator
This is Yeoman generator inspired by react-starter-kit by @koistya
It works similar to react-starter-kit. Also there is some features.
$ npm install -g yo
$ git clone https://github.com/proxyfabio/generator-rsk.git
$ cd generator-rsk
$ npm link
Now generator as available for Yeoman
$ yo rsk
This will extract original react-starter-kit repo.
Also you can use only features.
####Subgenerators They allows you to create some scaffolding.
$ yo rsk:store name
This creates new nameStore
store.
$ yo rsk:action name
This creates new nameActions
action. Also it creates ActionTypes.js
& PayloadSources.js
files at constants
directory.
$ yo rsk:cmp name
This creates new name
react component.
When you execute rsk:cmp
command there will be special dialog. You can create store and action for your component if it's necessary.
$ yo rsk:addaction name
This allows you to update existing components via dialog:
- Creates new
ConstantName
forActionTypes
- Creates payload listener at chosen store if necessary.
- Creates
name
action at component's actions file if necessary.
MIT