-
Notifications
You must be signed in to change notification settings - Fork 192
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 5.02 KB
/
package.json
File metadata and controls
160 lines (160 loc) · 5.02 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "@aws-lambda-powertools/idempotency",
"version": "2.30.2",
"description": "The idempotency package for the Powertools for AWS Lambda (TypeScript) library. It provides options to make your Lambda functions idempotent and safe to retry.",
"author": {
"name": "Amazon Web Services",
"url": "https://aws.amazon.com"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "vitest --run tests/unit",
"test:unit": "vitest --run tests/unit",
"test:unit:coverage": "vitest --run tests/unit --coverage.enabled --coverage.thresholds.100 --coverage.include='src/**'",
"test:unit:types": "echo 'Not Implemented'",
"test:unit:watch": "vitest tests/unit",
"test:e2e:nodejs20x": "RUNTIME=nodejs20x vitest --run tests/e2e",
"test:e2e:nodejs22x": "RUNTIME=nodejs22x vitest --run tests/e2e",
"test:e2e:nodejs24x": "RUNTIME=nodejs24x vitest --run tests/e2e",
"test:e2e": "vitest --run tests/e2e",
"build:cjs": "tsc --build tsconfig.cjs.json && echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"build:esm": "tsc --build tsconfig.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 .",
"lint:ci": "biome ci .",
"prepack": "node ../../.github/scripts/release_patch_package_json.js ."
},
"homepage": "https://github.com/aws-powertools/powertools-lambda-typescript/tree/main/packages/idempotency#readme",
"license": "MIT-0",
"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"
}
},
"./persistence": {
"import": "./lib/esm/persistence/index.js",
"require": "./lib/cjs/persistence/index.js"
},
"./dynamodb": {
"import": "./lib/esm/persistence/DynamoDBPersistenceLayer.js",
"require": "./lib/cjs/persistence/DynamoDBPersistenceLayer.js"
},
"./dynamodb/types": {
"import": "./lib/esm/types/DynamoDBPersistence.js",
"require": "./lib/cjs/types/DynamoDBPersistence.js"
},
"./cache": {
"import": "./lib/esm/persistence/CachePersistenceLayer.js",
"require": "./lib/cjs/persistence/CachePersistenceLayer.js"
},
"./cache/types": {
"import": "./lib/esm/types/CachePersistence.js",
"require": "./lib/cjs/types/CachePersistence.js"
},
"./middleware": {
"import": "./lib/esm/middleware/makeHandlerIdempotent.js",
"require": "./lib/cjs/middleware/makeHandlerIdempotent.js"
},
"./types": {
"import": "./lib/esm/types/index.js",
"require": "./lib/cjs/types/index.js"
}
},
"typesVersions": {
"*": {
"persistence": [
"lib/cjs/persistence/index.d.ts",
"lib/esm/persistence/index.d.ts"
],
"dynamodb": [
"lib/cjs/persistence/DynamoDBPersistenceLayer.d.ts",
"lib/esm/persistence/DynamoDBPersistenceLayer.d.ts"
],
"dynamodb/types": [
"lib/cjs/types/DynamoDBPersistence.d.ts",
"lib/esm/types/DynamoDBPersistence.d.ts"
],
"cache": [
"lib/cjs/persistence/CachePersistenceLayer.d.ts",
"lib/esm/persistence/CachePersistenceLayer.d.ts"
],
"cache/types": [
"lib/cjs/types/CachePersistence.d.ts",
"lib/esm/types/CachePersistence.d.ts"
],
"middleware": [
"lib/cjs/middleware/makeHandlerIdempotent.d.ts",
"lib/esm/middleware/makeHandlerIdempotent.d.ts"
],
"types": [
"lib/cjs/types/index.d.ts",
"lib/esm/types/index.d.ts"
]
}
},
"types": "./lib/cjs/index.d.ts",
"main": "./lib/cjs/index.js",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/aws-powertools/powertools-lambda-typescript.git"
},
"bugs": {
"url": "https://github.com/aws-powertools/powertools-lambda-typescript/issues"
},
"dependencies": {
"@aws-lambda-powertools/commons": "2.30.2",
"@aws-lambda-powertools/jmespath": "2.30.2"
},
"peerDependencies": {
"@aws-sdk/client-dynamodb": ">=3.x",
"@aws-sdk/lib-dynamodb": ">=3.x",
"@middy/core": "4.x || 5.x || 6.x || 7.x",
"@redis/client": "^5.0.1",
"@valkey/valkey-glide": "^1.3.4"
},
"peerDependenciesMeta": {
"@aws-sdk/client-dynamodb": {
"optional": true
},
"@aws-sdk/lib-dynamodb": {
"optional": true
},
"@middy/core": {
"optional": true
},
"@redis/client": {
"optional": true
},
"@valkey/valkey-glide": {
"optional": true
}
},
"keywords": [
"aws",
"lambda",
"powertools",
"idempotency",
"serverless",
"nodejs"
],
"devDependencies": {
"@aws-lambda-powertools/testing-utils": "file:../testing",
"@aws/durable-execution-sdk-js": "^1.0.0",
"@aws-sdk/client-dynamodb": "^3.966.0",
"@aws-sdk/lib-dynamodb": "^3.966.0",
"aws-sdk-client-mock": "^4.1.0"
}
}