@jdavalenti/react-cli

1.0.4 • Public • Published

React CLI

The React command line utility.

Inspired by EmberCLI

Features

  • File / Project generator using blueprints
  • Generate project with the Flux architecture

Installation

npm i -g @jdavalenti/react-cli

Usage

After installing react CLI tool it will be available using the react command line.

Create a new project

react new my-react-app

This will create a new folder my-react-app and setup the basic react project strcture and install any necessary dependencies.

Generate files

react generate component ReactComponent

This will generate a component name react-component.js. component here is just an example and can be used with a variety of blueprints.

Currently Supported Blueprints

  • Actions action
  • Components component
  • Constants constant
  • Dispatchers dispatcher
  • Stores store
  • Utils util

Current Supported Architectures

  • Flux react new my-create-app --flux

Community

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i @jdavalenti/react-cli

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

72.4 kB

Total Files

32

Last publish

Collaborators

  • jdavalenti