Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Latest commit

 

History

History
96 lines (67 loc) · 1.71 KB

README_EN.md

File metadata and controls

96 lines (67 loc) · 1.71 KB

generator-react-impression

React + Redux + React Router + React Impression + Webpack 3

Installation

First, install Yeoman and generator-react-impression:

npm i -g yo generator-react-impression

Then generate your new project:

yo react-impression

OR upgrade existed project:

cd YOUR_PROJECT_FOLDER
yo react-impression --upgrade

Development

First, run following command in your project folder:

npm start

Then, open your browser with http://localhost:8080.

Deploy

First, add your Qiniu key to package.json:

{
  "deploy": {
    "ACCESS_KEY": "",
    "SECRET_KEY": ""
  }
}

Then run following command to release patch version:

npm version patch -m 'Release version %s'

OR release minor version:

npm version minor -m 'Release version %s'

Best Practice

License

MIT