npm install ciriucHelps you with creating react components.
This is technologies cli is using with:
1. React
1. classnames (classnames/bind to be clear)
1. SCSS
1. Flow
1. Redux*
*-optional
You will get structure like this:
path/to/directory/${ComponentName}
- ${ComponentName}.js
- ${ComponentName}.scss
- package.json
This will create component directory with .js, .scss and package.json
crc comp path/to/directory/${ComponentName}
For functional component use flag -f OR --functional
crc comp path/to/directory/${ComponentName} -f
For Redux connect use flag -r OR --redux
crc comp path/to/directory/${ComponentName} -r