-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy pathpackage.json
111 lines (111 loc) · 3.18 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "@aws-lambda-powertools/testing-utils",
"version": "2.13.1",
"description": "A package containing utilities to test your serverless workloads",
"author": {
"name": "Amazon Web Services",
"url": "https://aws.amazon.com"
},
"private": true,
"scripts": {
"test": "vitest --run",
"test:unit": "vitest --run",
"test:e2e": "echo 'Not implemented'",
"build:cjs": "tsc --build tsconfig.json && echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"build:esm": "tsc --build tsconfig.esm.json && echo '{ \"type\": \"module\" }' > lib/esm/package.json",
"build": "npm run build:esm & npm run build:cjs",
"lint": "biome lint .",
"lint:fix": "biome check --write .",
"prepack": "node ../../.github/scripts/release_patch_package_json.js ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/aws-powertools/powertools-lambda-typescript.git"
},
"files": [
"lib"
],
"type": "module",
"exports": {
".": {
"require": {
"types": "./lib/cjs/index.d.ts",
"default": "./lib/cjs/index.js"
},
"import": {
"types": "./lib/esm/index.d.ts",
"default": "./lib/esm/index.js"
}
},
"./resources/lambda": {
"import": "./lib/esm/resources/TestNodejsFunction.js",
"require": "./lib/cjs/resources/TestNodejsFunction.js"
},
"./resources/dynamodb": {
"import": "./lib/esm/resources/TestDynamodbTable.js",
"require": "./lib/cjs/resources/TestDynamodbTable.js"
},
"./context": {
"import": "./lib/esm/context.js",
"require": "./lib/cjs/context.js"
},
"./types": {
"import": "./lib/esm/types.js",
"require": "./lib/cjs/types.js"
},
"./utils/xray-traces": {
"import": "./lib/esm/xray-traces-utils.js",
"require": "./lib/cjs/xray-traces-utils.js"
}
},
"typesVersions": {
"*": {
"resources/lambda": [
"lib/cjs/resources/TestNodejsFunction.d.ts",
"lib/esm/resources/TestNodejsFunction.d.ts"
],
"resources/dynamodb": [
"lib/cjs/resources/TestDynamodbTable.d.ts",
"lib/esm/resources/TestDynamodbTable.d.ts"
],
"types": [
"lib/cjs/types.d.ts",
"lib/esm/types.d.ts"
],
"context": [
"lib/cjs/context.d.ts",
"lib/esm/context.d.ts"
],
"utils/xray-traces": [
"lib/cjs/xray-traces-utils.d.ts",
"lib/esm/xray-traces-utils.d.ts"
]
}
},
"types": "./lib/cjs/index.d.ts",
"main": "./lib/cjs/index.js",
"keywords": [
"aws",
"lambda",
"powertools",
"testing",
"serverless"
],
"license": "MIT-0",
"bugs": {
"url": "https://github.com/aws-powertools/powertools-lambda-typescript/issues"
},
"homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/testing#readme",
"dependencies": {
"@aws-cdk/cli-lib-alpha": "^2.176.0-alpha.0",
"@aws-sdk/client-lambda": "^3.738.0",
"@smithy/util-utf8": "^4.0.0",
"aws-cdk-lib": "^2.177.0",
"esbuild": "^0.24.2",
"promise-retry": "^2.0.1"
},
"devDependencies": {
"@types/promise-retry": "^1.1.6",
"aws-sdk-client-mock-vitest": "^6.1.0"
}
}