0.0.3 • Published 10 years ago

reduxator v0.0.3

Weekly downloads
10
License
ISC
Repository
github
Last release
10 years ago

npm version npm downloads

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