-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
65 lines (65 loc) · 2.44 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "@baselime/lambda-node-opentelemetry",
"version": "0.5.7",
"description": "OpenTelemetry auto tracer for Node.JS based AWS Lambda functions",
"types": "index.d.ts",
"exports": {
"require": "./index.cjs",
"import": "./index.mjs"
},
"keywords": [
"nodejs",
"aws-lambda",
"serverless",
"opentelemetry"
],
"files": [
"lambda-wrapper.cjs",
"index.mjs",
"index.cjs",
"index.d.ts"
],
"type": "module",
"scripts": {
"tsc": "tsc --declaration --emitDeclarationOnly --p ./tsconfig.json",
"build:handler": "npm run build:esm && npm run build:cjs",
"build:esm": "esbuild src/handler.mjs --bundle --minify --platform=node --target=node18 --outfile=dist/handler.mjs --metafile=meta.json --format=esm",
"build:cjs": "esbuild src/handler.cjs --bundle --minify --platform=node --target=node18 --outfile=dist/handler.cjs --metafile=meta.json --format=cjs",
"distribute": "mkdir -p layer-dir/nodejs/node_modules/@baselime/lambda-node-opentelemetry && cp -r dist/* layer-dir/nodejs/node_modules/@baselime/lambda-node-opentelemetry",
"build:tracer": "esbuild src/lambda-wrapper.ts --bundle --minify --platform=node --target=node18 --format=cjs --outfile=dist/lambda-wrapper.cjs --metafile=meta.wrapper.json",
"build:wrappercjs": "esbuild src/index.ts --bundle --minify --platform=node --target=node18 --format=cjs --outfile=dist/index.cjs --metafile=meta.json",
"build": "npm run build:handler && npm run build:tracer && npm run build:wrappercjs && npm run distribute",
"deploy": "npm run build && ./scripts/publish",
"test": "vitest",
"coverage": "vitest run --coverage",
"release": "release-it"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Baselime/tracer-node.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/Baselime/tracer-node/issues"
},
"homepage": "https://github.com/Baselime/tracer-node#readme",
"devDependencies": {
"@release-it/keep-a-changelog": "^4.0.0",
"@tsconfig/node16": "^1.0.4",
"@types/flat": "^5.0.2",
"@types/node": "^20.1.7",
"esbuild": "^0.20.1",
"release-it": "^16.2.1",
"serverless-webpack": "^5.13.0",
"typescript": "^5.2.2",
"vite": "^4.3.9",
"vitest": "^0.32.2"
},
"dependencies": {
"@baselime/node-opentelemetry": "^0.5.7",
"@opentelemetry/api": "^1.8.0",
"@opentelemetry/instrumentation-aws-sdk": "^0.39.0",
"flat": "^5.0.2"
}
}