-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
210 lines (210 loc) · 5.61 KB
/
Copy pathpackage.json
File metadata and controls
210 lines (210 loc) · 5.61 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"name": "@nestm/crypto",
"version": "0.1.0-alpha.8",
"description": "Authenticated encryption for NestJS 12 with AES-256-GCM, envelope key providers, tenant isolation, and HTTP/Prisma field adapters.",
"license": "MIT",
"author": "nestm",
"repository": {
"type": "git",
"url": "git+https://github.com/nestm-dev/crypto.git"
},
"homepage": "https://github.com/nestm-dev/crypto#readme",
"bugs": {
"url": "https://github.com/nestm-dev/crypto/issues"
},
"keywords": [
"nestjs",
"nestjs-12",
"cryptography",
"encryption",
"aes-256-gcm",
"envelope-encryption",
"kms",
"multi-tenant",
"field-encryption",
"prisma",
"esm",
"nestm"
],
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=22.13.0"
},
"packageManager": "pnpm@11.24.0",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"default": "./dist/index.mjs"
},
"./core": {
"types": "./dist/core/index.d.mts",
"import": "./dist/core/index.mjs",
"default": "./dist/core/index.mjs"
},
"./files": {
"types": "./dist/files/index.d.mts",
"import": "./dist/files/index.mjs",
"default": "./dist/files/index.mjs"
},
"./fields": {
"types": "./dist/fields/index.d.mts",
"import": "./dist/fields/index.mjs",
"default": "./dist/fields/index.mjs"
},
"./tenant": {
"types": "./dist/tenant/index.d.mts",
"import": "./dist/tenant/index.mjs",
"default": "./dist/tenant/index.mjs"
},
"./http": {
"types": "./dist/http/index.d.mts",
"import": "./dist/http/index.mjs",
"default": "./dist/http/index.mjs"
},
"./prisma": {
"types": "./dist/prisma/index.d.mts",
"import": "./dist/prisma/index.mjs",
"default": "./dist/prisma/index.mjs"
},
"./keys": {
"types": "./dist/keys/index.d.mts",
"import": "./dist/keys/index.mjs",
"default": "./dist/keys/index.mjs"
},
"./key-wrap/rsa": {
"types": "./dist/key-wrap/rsa/index.d.mts",
"import": "./dist/key-wrap/rsa/index.mjs",
"default": "./dist/key-wrap/rsa/index.mjs"
},
"./kms/aws": {
"types": "./dist/kms/aws/index.d.mts",
"import": "./dist/kms/aws/index.mjs",
"default": "./dist/kms/aws/index.mjs"
},
"./kms/gcp": {
"types": "./dist/kms/gcp/index.d.mts",
"import": "./dist/kms/gcp/index.mjs",
"default": "./dist/kms/gcp/index.mjs"
},
"./kms/azure": {
"types": "./dist/kms/azure/index.d.mts",
"import": "./dist/kms/azure/index.mjs",
"default": "./dist/kms/azure/index.mjs"
},
"./testing": {
"types": "./dist/testing/index.d.mts",
"import": "./dist/testing/index.mjs",
"default": "./dist/testing/index.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"SECURITY.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "node scripts/clean.mjs",
"build": "tsdown",
"build:watch": "tsdown --watch src",
"build:tsc": "pnpm run clean && tsc -p tsconfig.build.json",
"typecheck": "tsc --noEmit",
"lint": "oxlint --type-aware .",
"lint:fix": "oxlint --type-aware --fix .",
"format": "prettier --write . --ignore-unknown",
"format:check": "prettier --check . --ignore-unknown",
"check": "pnpm run lint && pnpm run format:check && pnpm run typecheck",
"test": "pnpm run test:unit",
"test:unit": "vitest run --config vitest.config.ts",
"test:vectors": "node scripts/verify-nmf1-vectors.mjs",
"test:watch": "vitest --config vitest.config.ts",
"test:coverage": "vitest run --config vitest.config.ts --coverage",
"test:live": "vitest run --config vitest.live.config.ts",
"test:packed": "node scripts/test-packed-consumers.mjs",
"verify:package": "node scripts/check-package.mjs && publint --strict && attw --pack . --profile esm-only",
"verify:pack": "pnpm run build && pnpm run verify:package && pnpm run test:packed",
"verify": "pnpm run check && pnpm run test && pnpm run test:vectors && pnpm run verify:pack",
"prepack": "pnpm run build",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "node scripts/publish.mjs"
},
"peerDependencies": {
"@aws-sdk/client-kms": ">=3.700.0 <4",
"@azure/core-auth": ">=1.11.0 <2",
"@azure/keyvault-keys": ">=4.10.2 <5",
"@google-cloud/kms": ">=5.7.0 <7",
"@nestm/tenant": ">=0.1.0-alpha.3 <0.2.0",
"@nestjs/common": "^12.0.0",
"@nestjs/core": "^12.0.0",
"class-transformer": ">=0.5.1 <1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.0"
},
"peerDependenciesMeta": {
"@aws-sdk/client-kms": {
"optional": true
},
"@azure/core-auth": {
"optional": true
},
"@azure/keyvault-keys": {
"optional": true
},
"@google-cloud/kms": {
"optional": true
},
"@nestm/tenant": {
"optional": true
},
"@nestjs/common": {
"optional": true
},
"@nestjs/core": {
"optional": true
},
"class-transformer": {
"optional": true
},
"reflect-metadata": {
"optional": true
},
"rxjs": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.5",
"@aws-sdk/client-kms": "3.1120.0",
"@azure/core-auth": "1.11.0",
"@azure/keyvault-keys": "4.10.2",
"@changesets/cli": "3.0.1",
"@google-cloud/kms": "6.0.0",
"@nestm/tenant": "0.1.0-alpha.8",
"@nestjs/common": "12.0.1",
"@nestjs/core": "12.0.1",
"@nestjs/testing": "12.0.1",
"@types/node": "26.4.0",
"@vitest/coverage-v8": "4.1.11",
"class-transformer": "0.5.1",
"oxlint": "1.80.0",
"oxlint-tsgolint": "7.0.2001",
"prettier": "3.9.6",
"publint": "0.3.24",
"reflect-metadata": "0.2.2",
"rxjs": "7.8.2",
"tsdown": "0.22.14",
"typescript": "7.0.2",
"vitest": "4.1.11"
}
}