required packages:
# Compile typescript files with
tsc
# Provide LAMBDA ENV
LAMBDA_LAYER_ARN=XXXX
LAMBDA_FUNCTION_ARN=XXXXX
# Compile TSC files first
yarn
tsc .
# Switch to production
rm -r node_modules/
NODE_ENV=production yarn install
#Run deploy.sh to push layers and code
./deploy.sh