Simple comments application
built on top of the client-only version of the starter kit react-redux-starter-kit.
Demo live : http://s83.github.io/react-comments/
Node (^4.0.0
| ^0.12.0
) or io.js ^2.0.0
.
- React (
0.14.0-rc1
)- Includes react-addons-test-utils (
0.14.0-rc1
)
- Includes react-addons-test-utils (
- react-router (
1.0.0-rc1
) - Redux (
^3.0.0
)- react-redux
- redux-devtools
- use
npm run dev:nw
to display in a separate window.
- use
- Babel
react-transform-webpack-hmr
for hot reloadingreact-transform-catch-errors
for more visible error reporting- Uses babel runtime rather than inline transformations
- Webpack
- Splits core application code from vendor dependencies
- webpack-dev-server
- sass-loader with CSS extraction
- eslint-loader
- Uses Airbnb's eslint config (with some softened rules)
- Configured to fail production builds on error
Runs the webpack build system just like in compile
but enables HMR. The webpack dev server can be found at localhost:3000
.
Same as npm run dev
but opens the debug tools in a new window.
Same as npm run dev
but disables devtools.
Runs the Webpack build system with your current NODE_ENV and compiles the application to disk (~/dist
). Production builds will fail on eslint errors (but not on warnings).
Runs all tests for the application. When run in a production build, failing tests will fail your build.
Similar to npm run test
, but only runs unit tests. This will run in watch mode and re-run individual test files when they change.
Helper script to run tests and then, on success, compile the application.