reduxator
v0.0.3
Published
This module is created to simplify development of redux application with webpack
Downloads
5
Maintainers
Readme
Info
This is still in its early stages and can therefor not guarentee anything yet. I have created this package to simplify development of redux application as I found myself creating the same files over and over again.
Installation
first you need to download the npm package as a global module
npm install reduxator -g
Then in your project directory
reduxator init
This will initialize the default file structure.
├── src/
│ ├── js
│ │ ├── component
│ │ │ ├── index.js
│ │ ├── component
│ │ │ ├── index.js
│ │ ├── redux
│ │ │ ├── configureStore.js
│ │ │ ├── reducer.js
Usage
To create a new component you just run
reduxator add newComponentName
This will add a folder to the component directory with the following structure
├── todo
│ ├── index.js
│ ├── action.js
│ ├── actionType.js
│ ├── constant.js
│ ├── reducer
│ │ ├── index
│ ├── jsx