Based off of React Redux Saga Boilerplate
- install npm:
brew install npm
- install nvm from nvm.sh -- do NOT install through homebrew as that is no longer maintaine
Run the following to get automatic node version switching set up:
npm install -g avn avn-nvm avn-n
avn setup
- react ^16.x
- react-router 4.x
- react-helmet 5.x
- redux 4.x
- redux-saga 0.16.x
- webpack-dev-server 3.x
- react-hot-loader 4.x
- redux-devtools (with browser plugin)
npm start
- webpack 4.x
- babel 7.x
npm run build
- eslint 5.x
- stylelint 9.x
npm run lint
/ npm run lint:styles
- jest 23.x
- enzyme 3.x
npm test
- cypress 3.0.x
npm run test:e2e
To render your own local skffold.yaml run the following with your initials
sed -e 's/TEMP/<initials>/g' skaffold.yaml.template > skaffold.yaml
Run a deployment you must set env var IMAGE_TAG
npm run build --production
skaffold run