-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.43 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
25
26
{
"name": "calcbot-api",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build:prod": "esbuild ./*.ts --bundle --platform=node --outdir=dist --external:@aws-sdk/client-cognito-identity-provider --external:@aws-sdk/client-s3 --external:@aws-sdk/s3-request-presigner --external:@aws-sdk/client-sns --external:@aws-sdk/util-dynamodb --external:@aws-sdk/client-dynamodb && cd dist && zip -r lambda.zip * > /dev/null && aws --profile heythisischris lambda update-function-code --function-name calcbot-api --zip-file \"fileb://lambda.zip\" > /dev/null && rm -rf lambda.zip",
"build:staging": "esbuild ./*.ts --bundle --platform=node --outdir=dist --external:@aws-sdk/client-cognito-identity-provider --external:@aws-sdk/client-s3 --external:@aws-sdk/s3-request-presigner --external:@aws-sdk/client-sns --external:@aws-sdk/util-dynamodb --external:@aws-sdk/client-dynamodb && cd dist && zip -r lambda.zip * > /dev/null && aws --profile heythisischris lambda update-function-code --function-name calcbot-api-staging --zip-file \"fileb://lambda.zip\" > /dev/null && rm -rf lambda.zip"
},
"author": "",
"license": "ISC",
"dependencies": {
"@aws-sdk/client-bedrock-runtime": "^3.465.0",
"aws-jwt-verify": "^4.0.0",
"openai": "^4.26.0",
"serverless-postgres": "^2.1.0",
"stripe": "^14.14.0"
},
"imports": {
"#src/*": "./*"
},
"type": "module",
"devDependencies": {
"esbuild": "^0.19.4"
}
}