1.0.3 • Published 4 years ago

react-cli-awesome v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

react-cli-awesome

Why?

In the normal development process, we need more than a simple CLI. We may need to install Redux, react-router and eslint etc. the react-cli-awesome will help you solve these problems

Installation

npm

npm install -g react-cli-awesome

yarn

yarn add react-cli-awesome -g

Usage

  • init

    Download the offical tempalte from remote.

react-cli init <your-project-name>

Commander introduction

1.Template Selection

(i). React, You can npm run dev||npm run build to server your project with webpack+babel;

(ii). React Component,that means you want your project to exported to a react component.So there is only Babel for you.

ReactReact Component
webpack+babelbabel

2.ThirdParty Library Selection

  • Eslint+Prettier
  • Redux
  • React-Router