Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 956 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 956 Bytes

serverless License: MIT Dependencies

Overview

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

Requirements

  • Node.js version >= 8.10
  • Yarn

Running locally

yarn start

Deploying

export AWS_PROFILE=myprofile && export AWS_REGION=eu-west-2 && yarn run deploy

Undeploying

export AWS_PROFILE=myprofile && export AWS_REGION=eu-west-2 && yarn run remove

Credits

Based on: https://github.com/shashanktomar/serverless-webpack-babel-boilerplate