diq

4.0.3 • Public • Published

DIQ – DUX IQ

CLI generator of Redux dux files and React components.

Tldr; install it with:

npm install diq -g

Go to your project's root folder and add .diq file:

touch .diq

Specify folders in .diq file like below:

{
  "duxFolder": "src/dux",
  "modulesFolder": "src/modules",
  "commonComponentsFolder": "src/components"
}

and run DIQ:

diq

Redux

With DIQ you can generate boilerplate for separated dux module:

dux_folder

... | dux_module_1

... ... | dux file

... ... | api file

... ... | types file

... | dux_module_2

... | dux_module_3

Just type diq in your project root and follow instructions.

React

With diq you can create React component as function or class. You can add stylus file for styling and specify most used methods.

Readme

Keywords

none

Package Sidebar

Install

npm i diq

Weekly Downloads

1

Version

4.0.3

License

MIT

Last publish

Collaborators

  • iamolegga