generator-react-feature
TL;DR
Generates an opinionated structure for React features
- featurePath
-- MyFeature
--- MyFeature.js
--- MyFeature.test.js
--- MyFeature.scss
--- MyFeature.stories.js // optional
Installation
First, install Yeoman and generator-react-feature using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-react-feature
Then generate your new project:
yo react-feature
Usage
yo react-feature <name>
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
License
Apache-2.0 © Jason Kinnear