-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.51 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.51 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": "terraform-lambda-example",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"lint": "eslint --ext .js,.ts,.tsx ./lambda/src/",
"script:build-dependency-layer": "yarn install --prod; ./scripts/build-dependency-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-dependency-layer; yarn tf:apply",
"update:all": "yarn tf:destroy -auto-approve; yarn deploy:all",
"cleanup": "rm -rf lambda/dist/*"
},
"repository": "git@github.com:rahman95/terraform-lambda-typescript-starter.git",
"author": "Rahman Younus <rahman_95@live.co.uk>",
"license": "MIT",
"devDependencies": {
"@types/aws-lambda": "^8.10.39",
"@types/aws-sdk": "^2.7.0",
"@types/node": "^13.1.1",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-typescript": "^6.3.1",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^3.1.0",
"prettier": "^1.19.1",
"ts-node": "^8.5.4",
"tsc": "^1.20150623.0",
"typescript": "^3.7.4"
},
"dependencies": {
"aws-sdk": "^2.814.0"
}
}