0.1.3 • Published 6 years ago
@reduxed/tree v0.1.3
@reduxed/tree
Creates React component and Redux state reducer files
More features to come
Part of @reduxed utilities for Redux.
Table of Contents
Installation
$ yarn add @reduxed/tree
or
$ npm install --save @reduxed/tree
The npm package provides a CommonJS build, a UMD build, as well as an AMD build.
Usage
Adding a new reducer to your existing tree:
$ yarn reduxed-tree <relative path to reducer> <name> --reducer
or
$ ./node_modules/.bin/reduxed-tree <relative path to reducer> <name> --reducer
Adding a new component to your existing tree:
$ yarn reduxed-tree <relative path to component> <name>
or
$ ./node_modules/.bin/reduxed-tree <relative path to component> <name>