-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.84 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "terraform-typescript-lambda-apigateway",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"lint": "eslint --ext .js,.ts,.tsx ./lambda/src/",
"script:build-layer": "yarn install --prod; ./scripts/build-layer.sh; yarn install;",
"build": "tsc",
"tf:init": "cd terraform; terraform init",
"tf:plan": "cd terraform; terraform plan -var-file ./config/terraform.tfvars",
"tf:apply": "yarn build; cd terraform; terraform apply -var-file ./config/terraform.tfvars; yarn cleanup;",
"tf:destroy": "cd terraform; terraform destroy -var-file ./config/terraform.tfvars",
"deploy:all": "yarn script:build-layer; yarn tf:apply",
"update:all": "yarn tf:destroy -auto-approve; yarn deploy:all",
"cleanup": "rm -rf lambda/dist/*",
"graph": "cd terraform; terraform graph | blast-radius --svg > ../docs/graph.svg; terraform graph | blast-radius --json > ../docs/graph.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eunchurn/terraform-typescript-lambda-apigateway.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/eunchurn/terraform-typescript-lambda-apigateway/issues"
},
"homepage": "https://github.com/eunchurn/terraform-typescript-lambda-apigateway#readme",
"devDependencies": {
"@eunchurn/eslint-config": "^0.1.11",
"@eunchurn/prettier-config": "^0.0.4",
"@types/aws-lambda": "^8.10.108",
"@types/jest": "^29.2.0",
"@types/module-alias": "^2.0.1",
"@types/node": "^18.11.3",
"cross-env": "^7.0.3",
"dotenv-cli": "^6.0.0",
"jest": "^29.2.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.4"
},
"dependencies": {
"aws-lambda": "^1.0.7",
"module-alias": "^2.2.2"
},
"prettier": "@eunchurn/prettier-config"
}