A working example of a stub app based on React, Redux, CSS Modules, Material UI, and Webpack. Testing with Mocha and Enzyme.
This is intended to be a boilerplate, a working stub project that comes with all the following working together out of the box:
- react
- redux
- react-router
- react-router-redux
- material-ui
- webpack
- react-hot-loader
- react-css-modules
- gulp with eslint and sass-lint
- mocha and enzyme for testing
git clone
the projectnpm install
to install dependenciesnpm run watch
to start dev environment, hot loader mode, defaultlocalhost:8090
npm run build
to build for production environment, output is ondist
npm run start
to start stub server serving production assets, go tolocalhost:8090/public
npm run validate
to validate js/scss (useful for git hooks)npm run test
to run tests
Feel free to create a pull request, raise issues, etc.
As this is a boilerplate, feel free to base any project on it. As for the boilerplate project itself, license is MIT - see LICENSE