react-setup

3.9.0 • Public • Published

React-Setup

A Universal React Setup with i18n: Babel 6, Koa 2, React, React Router, React Transmit, React Bootstrap, React-intl, Mocha, Isparta, Webpack 2, InlineCSS/PostCSS, ESLint, HTTPS & HTTP2.

I prefer to keep this setup trim but feel free to sprinkle some more pixie dust (Redux, Passport, etc.) to bake your project :)

Live Demo

Circle CI Dependencies Status

More Features

  • I18n with React-Intl
  • Babel ES2015 (ES6/ES7)
  • Server rendering with React Transmit (inspired by Facebook Relay)
  • Inline CSS or PostCSS: your choice :)
  • Code coverage with Isparta
  • Debug ES6 code with Webpack 2
  • ESLint ES6 configuration
  • Style guide: JS Standard Style
  • Docker - build & launch your project - Instructions
  • Development: HMR (Hot Module Replacement) for both client & server
  • HTTPS & HTTP2
  • Production ready
  • Miscellaneous features: react-router-transition, react-jsonschema-form, pre-git, bunyan, mustache, GA tracking code, etc.

Documentation

Questions & Issues

Usage

Install

npm install -g babel-cli
npm install

Start DEV mode with Hot-Module-Replacement

npm run dev

Run tests

npm test
npm run test-cov

Build & Start PRODUCTION

npm run build && npm start

Contributing

PR, Stars ✭ and Issue Reporting are always welcome :)

Follow CONTRIBUTING.md

Package Sidebar

Install

npm i react-setup

Weekly Downloads

3

Version

3.9.0

License

MIT

Last publish

Collaborators

  • ngduc