generator-irrigate
v0.1.2
Published
Create new react native files that fit the IR workflow
Downloads
3
Maintainers
Readme
Hydrate React components/styles and screens the Infinite Red way.
Requirements
Make sure you have Yeoman:
npm install -g yo
Now install irrigate generator
npm install -g generator-irrigate
Use
yo irrigate AppName
-- Coming Soonyo irrigate:screen ContainerName
-- Simple containeryo irrigate:screen ScreenName
-- An opinionated containeryo irrigate:component ComponentName
-- Creates a base componentyo irrigate:redux ActionReducerSet
-- Coming One Day :sunrise_over_mountains:yo irrigate:saga SagaName
-- Coming One Day :sunrise_over_mountains:
When Developing
Run nmp link
to link this code base locally and so you don't have to keep reinstalling, you've got a symlink.
Compile
Code is written in ES2015+, so npm run compile
will babelfy the source.
TODO LIST
This was originally concevied without Yeoman, so there's a good bit of overlap with yeoman functionality over included functionality. Once we're sure we're going 100% with Yeoman or not it would be ideal to unify the syntax.
Sagas
Reducers