-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
27 lines (27 loc) · 1.26 KB
/
package.json
File metadata and controls
27 lines (27 loc) · 1.26 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
{
"name": "tf-lambda-distributed-tracing",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"postinstall": "npm run types",
"prebuild": "rm -rf dist/",
"build": "npm run build:launch && npm run build:mission && npm run build:deps",
"build:launch": "esbuild src/launch/requestLaunchLambda.ts --bundle --outdir=dist/lambdas --external:pino --platform=node",
"build:mission": "esbuild src/mission/controlMissionLambda.ts --bundle --outdir=dist/lambdas --external:@aws-sdk/client-dynamodb --platform=node",
"build:deps": "jq '{dependencies: {pino: .packages[\"node_modules/pino\"].version}}' package-lock.json > dist/package.json && cd dist && npm install --omit-dev --no-package-lock",
"postbuild": "cp collector.yaml dist/collector.yaml && cd dist && zip -r lambdas.zip ./*",
"types": "dtsgen --out src/launch/@types/launch.d.ts src/launch/openapi.json && dtsgen --out src/mission/@types/mission.d.ts src/mission/openapi.json",
"test": "echo \"Error: no test specified\" && exit 1"
},
"license": "ISC",
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.940.0",
"pino": "^10.1.0"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.159",
"dtsgenerator": "^3.19.2",
"esbuild": "^0.27.0",
"ts-node": "^10.9.2"
}
}