-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.55 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.55 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "cloud-cost-alerts",
"version": "1.0.0",
"description": "AWS Cost Monitoring and Forecasting System",
"main": "dist/handlers/cost-reporter.js",
"scripts": {
"build": "esbuild src/handlers/cost-reporter.ts --bundle --platform=node --target=node20 --outfile=dist/cost-reporter.js --external:@aws-sdk/*",
"build:watch": "npm run build -- --watch",
"clean": "rm -rf dist",
"test:weekly": "sam local invoke CostReporterFunction -e events/weekly.json --env-vars env.json",
"test:monthly": "sam local invoke CostReporterFunction -e events/monthly.json --env-vars env.json",
"deploy": "npm run build && sam deploy --config-env dev",
"deploy:prod": "npm run build && sam deploy --config-env prod",
"deploy:guided": "npm run build && sam deploy --guided"
},
"dependencies": {
"@aws-sdk/client-backup": "^3.980.0",
"@aws-sdk/client-cloudwatch": "^3.500.0",
"@aws-sdk/client-cost-explorer": "^3.500.0",
"@aws-sdk/client-ec2": "^3.500.0",
"@aws-sdk/client-ecs": "^3.500.0",
"@aws-sdk/client-efs": "^3.500.0",
"@aws-sdk/client-eks": "^3.500.0",
"@aws-sdk/client-elastic-load-balancing-v2": "^3.500.0",
"@aws-sdk/client-elasticache": "^3.500.0",
"@aws-sdk/client-opensearch": "^3.500.0",
"@aws-sdk/client-rds": "^3.500.0",
"@aws-sdk/client-redshift": "^3.500.0",
"@aws-sdk/client-sts": "^3.980.0"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.131",
"@types/node": "^20.11.0",
"esbuild": "^0.20.0",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=20.0.0"
}
}