ReactJS Command Line Interface
npm install react.clireact.cli
react.cli is ReactJS command line interface. Using this cli you can generate modules and components very easily.
This cli was created for React-Redux-Boilerplate. If your project does not have a similar architecture, you can not use this tool.
1. Run npm install react.cli -g to install react.cli.
2. Run react to enter react mode.
3. Run react$ init to initialize project.
4. Run react$ make module orders to create module.
5. Run react$ make component Button to create component.
* Add -s option for stateless component. react$ make -s component Button
6. Run react$ remove module orders to remove module.
7. Run react$ remove component Button to remove component.
8. Run react$ exit to exit react mode.
