generator-react-component
Scaffold out a react component.
Features:
- Code style without semicolon
- Prettier code formatter
- Git pre commit hook
- Preview via Storybook
- Test via Jest
Install
$ npm install -g yo @m31271n/generator-react-component
Usage
With yo:
$ yo @m31271n/react-component
There are multiple command-line options available:
$ yo @m31271n/react-component --help
Tip
Use chalk if you want colors in your CLI.