@velovsky/create-cs-react
v0.0.17
Published
CLI to create new CS react projects
Downloads
51
Maintainers
Readme
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-react
How 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 --install
Flags
- --git or -g: inits git
- --install or -i: installs node modules
Alternative
Also you can just write
create-cs-react
and 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) n
Final 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