-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
24 lines (24 loc) · 1.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "serverless-terraform-lambda",
"version": "1.0.0",
"description": "An example project demonstrating how to automate serverless architecture deployment using Terraform, AWS Lambda, and API Gateway with TypeScript. This repo includes setup for Lambda function handlers, IAM roles, logging, and an API Gateway configuration based on OpenAPI.",
"main": "index.js",
"scripts": {
"build:function1": "esbuild lambda_handlers/function1.ts --bundle --outdir=dist --platform=node && cd ./dist && zip -r function1.zip function1.js",
"build:function2": "esbuild lambda_handlers/function2.ts --bundle --outdir=dist --platform=node && cd ./dist && zip -r function2.zip function2.js"
},
"author": "Ernesto Torralba",
"license": "ISC",
"dependencies": {
"base-64": "^1.0.0"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.138",
"@types/base-64": "^1.0.2",
"@types/node": "^20.14.2",
"aws-lambda": "^1.0.7",
"esbuild": "^0.21.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}