Babel + Webpack + React
brew install nvm
nvm install
npm install -g npm@$(cat .npm-version)
npm install
npm start
To inspect the current configuration:
npm run config
Or for a particular variant:
VARIANT=demo npm run config
You may also override individual config values by specifying them as env vars prefixed by config_
.:
config_apiEndpoint=http://foo.bar.com npm start
brew install awscli
aws configure # follow prompts to configure credentials + region
VARIANT=production npm run deploy # clean build and an s3 upload
Split up webpack configsPull in webpack hot loaderEmitwith hashindex.html
as part of build processTest emitting css + images as part of build processRe-write deployment scripts to deploy to an S3 bucketImplement aBaseComponent
that has some nice stuff on it (PureRenderMixin)Integrateredux
Integrateredux-interactions
Integratecombined-reduction
Integrateredux-dev-tools
(reducer configuration, not the React component)Set up unit testsIntegratereact-router
- Add .eslintrc
- Add file watcher for automatic test running