- Material Design via React Toolbox
- React Router 2
- React Hot Loader 3
- Production build uglifies/minifies all JavaScript
- Webpack 1.x
- Babel 6 configured for ES2015
- Sass
- eslint and sass-lint
- Test with [Mocha] (https://www.toptal.com/react/how-react-components-make-ui-testing-easy), Chai, and Karma
- Use latest npm modules available as of July 17 2016
Visit the Live demo
This project will only work on Unix-like systems like OSX and Linux. In other words, it will not work on Windows because:
- add-path, which is optional, is a shell script
- sass-lint doesn't have a Webpack loader so I had to improvise something that uses find
- Some of the scripts in project.json use && to run multiple commands
- fsevents, which is a dependency of an unknown module, doesn't run on Windows. It's possible that this is no longer an issue.
- Clone this repository
- npm install
- source add-path
add-path adds the node_modules/.bin directory to your PATH so you can run commands like 'eslint' from the command line. "npm run" does this for you.
- npm run eslint (eslint, unlike sass-lint, is run automatically by Webpack)
- npm run sass-lint (eslint, unlike sass-lint, is run automatically by Webpack)
- npm run lint
- npm test
- npm start
- Visit http://localhost:8080 in your browser
- npm run build (this also runs lint)
- Copy the file www/index.html to your web server
- Copy the files in the 'build' directory to your web server in the same directory where index.html is located