react-setup
v3.9.0
Published
A Universal React setup with i18n: Babel 6, Koa 2, React, React Router, React Transmit, React Bootstrap, React-intl, Mocha, Webpack HMR, PostCSS, ESLint.
Downloads
13
Maintainers
Readme
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 :)
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
- Style Guide - JS Standard, JSDocs
- Internationalization (i18n)
- Dependencies Notes
- Https and Http2
- Docker files
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