Libraries
- react
- redux
- babeljs
- immutablejs
- react-router
- react-router-redux
- react-intl
- redux-storage
- webpack
- expressjs
- eslint
- formatjs Universal internationalization.
- react-helmet A document head manager for React.
- webpack-isomorphic-tools
- chriso/validator.js For simple yet powerfull Este sync/async validation.
- bluebird Because it's better than native implementation.
- mochajs The fun, simple, flexible JavaScript test framework.
- SASS or plain CSS with autoprefixer
- shortid Short id generator. Url-friendly. Non-predictable.
- gulp Aren't NPM scripts better? No.
- raven-js Crash reporting client for Sentry.
- gulp-real-favicon Generate a multiplatform favicon with RealFaviconGenerator
- And much more. Explore the repository.
Prerequisites
Create App
git clone https://github.com/rkoberg/rihpl.git rihpl-app
cd rihpl-app
npm install
Start Development
- run
gulp
- point your browser to localhost:8000
- build something beautiful
Dev Tasks
gulp
run web app in development modegulp -p
run web app in production modegulp mocha
run mocha unit testsgulp mocha-watch
continuous test running for TDDgulp eslint
eslintgulp eslint --fix
fix fixable eslint issuesgulp messages-extract
extract messages for translationgulp messages-check
check missing and unused translationsgulp favicon
create multiplatform favicon
Production Tasks
gulp build -p
build app for productionnpm test
run all checks and testsnode src/server
start app, remember to set NODE_ENV and SERVER_URLgulp to-html
render app to HTML for static hostinggulp deploy-heroku
deploy Heroku app