@creditshelf/create-react

0.1.9 • Public • Published

Creditshelf react setup wizard

NPM
Creditshelf CLI to setup new react projects in few steps.

Installation

npx @creditshelf/create-react <args>
# or
npm install -g @creditshelf/create-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-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-react MyApp --git --install

Flags

  • --git or -g: inits git
  • --install or -i: installs node modules

Alternative

Also you can just write

create-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

Package Sidebar

Install

npm i @creditshelf/create-react

Weekly Downloads

1

Version

0.1.9

License

MIT

Unpacked Size

136 kB

Total Files

40

Last publish

Collaborators

  • creditshelf-admin
  • velovsky
  • c-bonucci