@t7m/redux-generator
Generate Actions and Reducers based on Duck method
Last updated a month ago by aminejvm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @t7m/redux-generator 
SYNC missed versions from official npm registry.

@t7m/redux-generator

Generate Actions and Reducers based on Duck method

oclif Version Downloads/week [License](https://github.com/Aminejvm/Typescript redux generator/blob/master/package.json)

Usage

$ npm install -g @t7m/redux-generator
$ redux COMMAND
running command...
$ redux (-v|--version|version)
@t7m/redux-generator/0.0.3 win32-x64 node-v10.16.3
$ redux --help [COMMAND]
USAGE
  $ redux COMMAND
...
#First command is to initialise Redux boilerplate (./redux)
#You can then get rootReducer from ./redux and integrate it in your config
redux init

#Second you need to create a Feature to contain reducers and actions.
redux create --f (name of feature)

#Create a synchronous action
#You'll get prompt with existing features to choose from. 
redux create --a (name of action)

#Create a asynchronous action
# You'll get prompt with existing feature to choose from.
redux create --async (name of async action)

Current Tags

  • 0.0.4                                ...           latest (a month ago)

4 Versions

  • 0.0.4                                ...           a month ago
  • 0.0.3                                ...           2 months ago
  • 0.0.2                                ...           2 months ago
  • 0.0.1                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 24
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |