Skip to content

dwilt/react-redux-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-redux-generator

This is a CLI to generate React and Redux templates for your React or React Native project.

Installation

  1. At the root of your React/React Native project, run:
yarn add dwilt-react-redux-generator -D

Run

Run from the root of your project like so:

yarn rrg

Configuration

You can include a .rrgrc file at the root of your project with the following overrides:

Property Type Default Description
isReactNativeProject boolean false This boolean tells the generator whether it's a React Native project. If set to true, it will generate a styles.js file instead of a CSS file.
componentsDirectory string src/components This is the root path of all your components. The generator will use this as the root for all of your components.
storePath string src/store This is location of your Redux store folder where the generator will place the reducer folder.
selectorsPath string src/selectors This is folder where your Reselect selectors are stored.

About

A cli template generator for your React and Redux project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published