-
Notifications
You must be signed in to change notification settings - Fork 195
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.25 KB
/
package.json
File metadata and controls
138 lines (138 loc) · 4.25 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
{
"name": "@aws-lambda-powertools/idempotency",
"version": "1.14.0",
"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": "npm run test:unit",
"test:unit": "jest --group=unit --detectOpenHandles --coverage --verbose",
"test:e2e:nodejs16x": "RUNTIME=nodejs16x jest --group=e2e",
"test:e2e:nodejs18x": "RUNTIME=nodejs18x jest --group=e2e",
"test:e2e": "jest --group=e2e",
"watch": "jest --watch",
"build:cjs": "tsc --build --force && echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"build:esm": "tsc --project tsconfig.esm.json && echo '{ \"type\": \"module\" }' > lib/esm/package.json",
"build": "npm run build:esm & npm run build:cjs",
"lint": "eslint --ext .ts,.js --no-error-on-unmatched-pattern .",
"lint-fix": "eslint --fix --ext .ts,.js --no-error-on-unmatched-pattern .",
"prebuild": "rimraf ./lib",
"prepack": "rimraf ./lib/*.tsbuildinfo && node ../../.github/scripts/release_patch_package_json.js ."
},
"lint-staged": {
"*.{js,ts}": "npm run lint-fix"
},
"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"
},
"./middleware": {
"import": "./lib/esm/middleware/makeHandlerIdempotent.js",
"require": "./lib/cjs/middleware/makeHandlerIdempotent.js"
},
"./types": {
"import": "./lib/esm/types/index.d.ts",
"require": "./lib/esm/types/index.d.ts"
}
},
"typesVersions": {
"*": {
"persistence": [
"lib/esm/persistence/index.d.ts",
"lib/cjs/persistence/index.d.ts"
],
"dynamodb": [
"lib/esm/persistence/DynamoDBPersistenceLayer.d.ts",
"lib/cjs/persistence/DynamoDBPersistenceLayer.d.ts"
],
"dynamodb/types": [
"lib/esm/types/DynamoDBPersistence.d.ts",
"lib/cjs/types/DynamoDBPersistence.d.ts"
],
"middleware": [
"lib/esm/middleware/makeHandlerIdempotent.d.ts",
"lib/cjs/middleware/makeHandlerIdempotent.d.ts"
],
"types": [
"lib/esm/types/index.d.ts",
"lib/cjs/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": "^1.14.0",
"@aws-sdk/util-base64-node": "^3.209.0",
"jmespath": "^0.16.0"
},
"peerDependencies": {
"@aws-sdk/client-dynamodb": ">=3.x",
"@aws-sdk/lib-dynamodb": ">=3.x",
"@middy/core": ">=3.x"
},
"peerDependenciesMeta": {
"@aws-sdk/client-dynamodb": {
"optional": true
},
"@aws-sdk/lib-dynamodb": {
"optional": true
},
"@middy/core": {
"optional": true
}
},
"keywords": [
"aws",
"lambda",
"powertools",
"idempotency",
"serverless",
"nodejs"
],
"devDependencies": {
"@aws-lambda-powertools/testing-utils": "file:../testing",
"@aws-sdk/client-dynamodb": "^3.413.0",
"@aws-sdk/lib-dynamodb": "^3.413.0",
"@types/jmespath": "^0.15.0",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-client-mock-jest": "^3.0.0"
}
}