Starter boilerplate for Node.js serverless functions with:
- Babel + Babel Minify + ENV target Node 8.10 (This reduces the required transformations)
- Source maps support
- Flow
- Jest
- Webpack 4
- Serverless Offline for local execution
- AirBnb linting
- Node.js version >= 8.10
- Yarn
yarn start
export AWS_PROFILE=myprofile && export AWS_REGION=eu-west-2 && yarn run deploy
export AWS_PROFILE=myprofile && export AWS_REGION=eu-west-2 && yarn run remove
Based on: https://github.com/shashanktomar/serverless-webpack-babel-boilerplate