2.0.0 ā€¢ Published 5 years ago

red-gen v2.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 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

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago