Pispros / react-tools

A simple way to generate react components, pages, ... with a single command and even use redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REACT DEV TOOLS

sudo bash install.sh ---> Install the tools

don't worry, no backdoor...

synthax : react-ninjamer-tools <element_name> [<element_name>]"

Attention : Make sure you are in your root folder and you do not have unsaved code a file you want to touch with the tool !"

------------------------------------------- Options :

 --init ----------> without any other parameter to init ninjamer-tools in your project ! It comes with react-redux structure"
 -c ----------> generate a component."
 -r ----------> generate a reducer."
 -p ----------> generate a page."
 -const ----------> generate a constant file" 
 -a ----------> generate an actions file 
 -i ----------> import component in a page.[... -i component_name page_name]" 
```bash
	
 Note: for speed & fast developement while using redux, please give same name to {constant, action & reducer} file

# Have a good time hacking my ninja !

About

A simple way to generate react components, pages, ... with a single command and even use redux


Languages

Language:Shell 89.9%Language:JavaScript 10.0%Language:SCSS 0.1%