2.0.0 • Published 6 years ago

red-gen v2.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago
npm i -g red-gen  

Create A Feature Folder.

Run this command from inside that folder -

red-gen <Component Name>

Like -

red-gen Button

The script will create -

  • Button.js
  • ButtonContainer.js
  • ButtonAction.js
  • ButtonReducer.js
  • ButtonThunk.js
  • ButtonSelector.js
  • ButtonTypes.js
  • ButtonStyle.js
  • index.js

And they will contain some structured boilerplate code.

😃

If component name includes more than one word, then use dash(-) between them

Like -

red-gen login-button

The script will create -

  • LoginButton.js
  • LoginButtonContainer.js
  • LoginButtonAction.js
  • LoginButtonReducer.js
  • LoginButtonThunk.js
  • LoginButtonSelector.js
  • LoginButtonTypes.js
  • LoginButtonStyle.js
  • index.js
2.0.0

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago