npm.io
1.4.1 • Published 8 years ago

simple-react-app-generator

Licence
MIT
Version
1.4.1
Deps
5
Size
69 kB
Vulns
0
Weekly
0
Stars
3

react-app-generator NPM version Build Status Dependency Status Coverage percentage

Create files Based off of generator-anxsaiyuki

Installation

First, install Yeoman and generator-anxsaiyuki using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-anxsaiyuki

Then generate your new project:

yo anxsaiyuki

If you want to include Flow:

npm install --global flow-bin

Script Commands:

  • Start Server on localhost:3000
npm start
  • Start Server with nodemon (start server on localhost:3000)
npm run start-dev
  • Start webpack dev (Used to create a virtual server for react project on localhost:8080)
npm run dev
  • Build src into dist folder (This will move all the necessary files to a new folder called dist)
npm run build

License

MIT anxsaiyuki

Keywords