npm

reduxator

0.0.3 • Public • Published

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

Package Sidebar

Install

npm i reduxator

Weekly Downloads

0

Version

0.0.3

License

ISC

Last publish

Collaborators

  • moesch