just another react + webpack boilerplate
It contains just the necessary to get started with React, I decided not to include flux libraries or other complicated stuff like server-rendering in here.
This projects aims to be a starting point for your React projects, and a way to learn it for newcomers.
See a working demo
- webpack + hot-module-replacement (babel-plugin-react-transform + react-transform-hmr)
- css-modules + stylus + PostCSS
- basic routing setup with react-router (you most likely need routing in your app)
- babeljs
- unit tests (mocha + chai) examples with both shallow-rendering and jsdom
- code coverage generation using istanbul
- eslint and jscs configuration
Clone this repository
git clone https://github.com/vesparny/react-kickstart.git
Install
npm install
Start the application in dev mode with hot-module-replacement
npm start
Run tests
npm test
Build for production
npm run build
Run production version
npm run build:start
Run jscs and eslint
npm run jscs
npm run eslint
Generate code coverage report
npm run test:cov
PR and issues reporting are always welcome :)
See LICENSE file
See CHANGELOG.md file