项目作者: moimikey

项目描述 :
💋 production ready React boilerplate with HMR
高级语言: HTML
项目地址: git://github.com/moimikey/react-boilerplate-production.git
创建时间: 2017-01-15T16:36:37Z
项目社区:https://github.com/moimikey/react-boilerplate-production

开源协议:MIT License

下载


💋 react-boilerplate-production CircleCI

production ready React boilerplate with HMR

😲 49kb production bundle tree-shaked and gzipped ! 😱

Start

  1. yarn install && ./node_modules/.bin/lerna bootstrap

Run

  1. npm run web:build # ./scripts/web:build
  2. npm run web:lint # ./scripts/web:lint
  3. npm run web:server:prod # ./scripts/web:start:prod
  4. npm run web:start # ./scripts/web:start:dev
  5. npm run web:test # ./scripts/web:test

Packages

Domain-based, Lerna (https://lernajs.io) powered:

  1. * packages/
  2. * base-eslint/ # base eslint configuration
  3. * base-react/ # base React factory
  4. * base-utility/ # base utilities factory
  5. * base-webpack/ # base webpack configuration (webpack2, hmr)
  6. * web/ # web client (react, eslint, webpack, cssmodules)

Only use what you need

  1. ...
  2. "base-react": "*",
  3. "base-webpack": "*",
  4. ...

License

MIT