@ps-cli/react

1.0.0 • Public • Published

React Logo

React application generator for Pheadera Solution based on on lib create-react-app.

Installation

$ npm install -g @ps-cli/react

Quick Start

The quickest way to get started with react-cli is to utilize the executable ps-react-cli new to generate an application as shown below:

Create the app:

$ ps-cli-react new <name>

or

$ psr new <name>

It will create a directory with <name> in current folder. Inside the directory it will setup a basic project with the following folder structure.

app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│   ├── favicon.ico
│   ├── index.html
│   └── manifest.json
└── src
    ├── @Components
    │   ├── index.js
    ├── App.css
    ├── App.js
    ├── App.test.js
    ├── index.css
    ├── index.js
    ├── logo.svg
    └── serviceWorker.js
    └── setupTests.js

Options

Usage: ps-cli-react new [options] <name>

Generates a new project

Options:
  -h, --help     Help in options

Start your React app at http://localhost:3000/:

$ npm start

Generate

Usage: ps-react-cli generate|g [options] [command]

Options:
  -h, --help                Get the help info

Commands:
  redux-store|rs  Add redux store to the project
  help [command]            display help for command

Command Line Options

This generator can also be further configured with the following command line flags.

Usage: ps-cli-react [options] [command]

Gives the verison of CLI

Options:
  -v, --version         Version
  -h, --help            Get the help info

Commands:
  new <name>  Generates a new project
  generate|g

License

MIT

Package Sidebar

Install

npm i @ps-cli/react

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

18.5 kB

Total Files

22

Last publish

Collaborators

  • muhammadhamza
  • usmanfaisal60
  • mustafashykh