Command Line Creator For Creating React Component Files in any React Project
Ubuntu 16.4
npm install -g react-create-comp
In any React Project run this command
react-create-comp generate <ComponentName>
For Stateless Component
react-create-comp generate <ComponentName> -s
or
react-create-comp generate <ComponentName> --stateless
Alias
react-create-comp g <ComponentName> [-s , --stateless]
git clone https://github.com/mohamedelshorbagy/react-create-comp
After Cloning Project, Open Project Directory and run these commands
npm install
npm link
For Linux/Ubuntu/Mac Users
sudo npm install
sudo npm link