reactjs-generator-cli

1.0.2 • Public • Published

A simple CLI for scaffolding React.js projects base on Ink.js.

Installation

$ npm install -g reactjs-generator-cli

Usage

$ react-init --help
 
  Usage
    react-init <project-name>
 

Create a react-webpack item

$ react-init <project-name>
 
$ cd <project-name>
 
$ npm install
 
$ npm run dev

Example

$ react-init my-react-item

This will generate the project at ./my-react-item/

Extra

  • webpack: webpack-dev-server + react-hot-loader

For more informations, please view Hot Module Replacement

License

MIT © TimRChen

Package Sidebar

Install

npm i reactjs-generator-cli

Weekly Downloads

2

Version

1.0.2

License

none

Last publish

Collaborators

  • timrchen95