@m31271n/generator-react-component
v1.1.4
Published
Scaffold out a React component.
Downloads
8
Maintainers
Readme
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.