Skip to content

GantMan/irrigate

Repository files navigation

irrigate

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 -- Generate new React Native app based off of IR RNBase
  • yo irrigate:container ContainerName -- Simple container
  • yo irrigate:screen ScreenName -- An opinionated container
  • yo irrigate:component ComponentName -- Creates a base component
  • yo irrigate:redux ActionReducerSet -- Coming One Day 🌄
  • yo irrigate:saga SagaName -- Coming One Day 🌄

When Developing

Run npm 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 conceived 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

About

Yeoman generator for Infinite Red app structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published