cloud-district-tools

1.1.4 • Public • Published

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 name
  • folder: Redux project folder. (Default: ./src/redux)

Readme

Keywords

none

Package Sidebar

Install

npm i cloud-district-tools

Weekly Downloads

10

Version

1.1.4

License

ISC

Unpacked Size

10.8 kB

Total Files

13

Last publish

Collaborators

  • fuertes