0.0.17 • Published 5 years ago
@velovsky/create-cs-react v0.0.17
Creditshelf react setup wizard
Creditshelf CLI to setup new react projects in few steps.
Installation
npx @velovsky/create-cs-react <args>
# or
npm install -g @velovsky/create-cs-reactHow to start a project?
In order to create a new project you will need to run the following command with the desired project name (Pascal Case)
create-cs-react <name of project> [flags]The following example creates a new react project named MyApp, installs all the node dependencies and inits a git
create-cs-react MyApp --git --installFlags
- --git or -g: inits git
- --install or -i: installs node modules
Alternative
Also you can just write
create-cs-reactand prompts will be made to setup the configuration (example):
? What project name would you like it to be? MyApp
? Should a git be initialized? Yes
? Would you like to already have all the packages installed? (y/N) nFinal step
Once the setup has run you can open your new project folder with VScode or simply run it*:
cd <project name>
npm start(*) only if the packages are already installed