cloud-district-tools
v1.1.4
Published
### Install
Downloads
5
Readme
CLOUD DISTRICT TOOLS
Install
- npm:
npm install -g cloud-district-tools
- yarn:
yarn global add cloud-district-tools
RN INIT
Generate RN Template
Usage
- cd your-project-root
- cloud-district-tools rn-init
REDUCER
Generate complete reducer
Redux Folder Structure
<name>/
├── index.js --> Index
├── actions.js --> Simple actions with Flux Standard Action pattern
├── operations.js --> Asyncs actions (thunks)
├── reducers.js --> Reducer
├── tests.js --> Test
├── types.js --> Simple actions types
Usage
cd your-project-root
cloud-district-tools reducer <name> <path>
Params
name
: Reducer namefolder
: Redux project folder. (Default:./src/redux
)