generator-isomorphism-koa2-react
JavaScript HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators/app
.gitignore
LICENSE
README.md
package.json
yarn.lock

README.md

generator-isomorphism-koa2-react

npm

introduce

Based on yeoman generator,auto deployment ismorphism-koa2-react project.

install

  • install yo using npm:
 npm install -g yo
 npm install -g generator-isomorphism-koa2-react
  • mkdir && cd your project directory,eg: mkdir test && cd test
  • run isomorphism-koa2-react with yo
 yo isomorphism-koa2-react
  • answers
? What's the Project name(isomorphism-koa2-react)
? What's the Project version(1.0.0)
? What's the Project description()
? What's the Project git repository()
? What's your name()
  • finish
 npm start

scripts

    "start": "node bin/development.js",
    "production": "node bin/production.js",
    "build": "npm run clean && webpack --config webpack.build.js",
    "clean": "rm -rf public/build/ && rm -rf dist/",
    "test": "./node_modules/karma/bin/karma start test/karma.conf.js",
    "dev": "npm start"