1.0.9 • Published 6 years ago

dwilt-react-redux-generator v1.0.9

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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:

PropertyTypeDefaultDescription
isReactNativeProjectbooleanfalseThis 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.
componentsDirectorystringsrc/componentsThis is the root path of all your components. The generator will use this as the root for all of your components.
storePathstringsrc/storeThis is location of your Redux store folder where the generator will place the reducer folder.
selectorsPathstringsrc/selectorsThis is folder where your Reselect selectors are stored.
1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago