-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
345 lines (345 loc) · 17.2 KB
/
package.json
File metadata and controls
345 lines (345 loc) · 17.2 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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
{
"name": "brightchain",
"version": "0.29.24",
"license": "MIT",
"workspaces": [
"brightchain-lib",
"brightchain-lib-e2e",
"brightchain-api",
"brightchain-api-e2e",
"brightchain-api-lib",
"brightchain-db",
"brightchain-inituserdb",
"brightchain-react",
"brightchain-react-e2e",
"brightchain-react-components",
"brightchain-test-utils",
"brightchain-node-express-suite",
"brightchat-lib",
"brightchat-react-components",
"brightmail-react-components",
"brightpass-react-components",
"brighthub-lib",
"brighthub-react-components",
"brightchain-azure-store",
"brightchain-s3-store",
"brightmail-lib",
"brightpass-lib",
"digitalburnbag-api-lib",
"digitalburnbag-lib",
"digitalburnbag-react-components",
"digitalburnbag-desktop",
"digitalburnbag-sync-client",
"showcase",
"tools",
"vscode-brightchain-vfs-explorer"
],
"scripts": {
"prepare": "git config core.hooksPath .githooks",
"postinstall": "node tools/scripts/rebuild-native-modules.js",
"verdaccio": "npx verdaccio --config ./verdaccio/config.yaml",
"verdaccio:install": "npx verdaccio --config ./verdaccio/config.yaml & sleep 3 && yarn install && kill %1",
"new:secret": "node -e \"console.log (require('crypto').randomBytes(32).toString ('hex'));\"",
"new:mnemonic": "node -e \"const b=require('bip39'); console.log(b.generateMnemonic(256));\"",
"new:guid": "node -e \"const p = new (require('@digitaldefiance/node-ecies-lib').GuidV4Provider)(); console.log(p.fromBytes(p.generate()).asFullHexGuid);\"",
"build:all": "NODE_OPTIONS='--max-old-space-size=16384' NODE_ENV=production npx nx run-many --target=build --all --configuration=production",
"build:all:dev": "NODE_OPTIONS='--max-old-space-size=16384' NODE_ENV=development npx nx run-many --target=build --all --configuration=development",
"build:all:dev:stream": "NODE_OPTIONS='--max-old-space-size=16384' NODE_ENV=development npx nx run-many --target=build --all --configuration=development --outputStyle=stream",
"build:all:prod": "NODE_OPTIONS='--max-old-space-size=16384' NODE_ENV=production npx nx run-many --target=build --all --configuration=production",
"build:all:dev:logged": "yarn build:all:dev --outputStyle=stream 2>&1 | ansifilter -o build.log",
"build:node-express-suite:prod": "NODE_ENV=production npx nx build brightchain-node-express-suite --configuration=production",
"build:lib:prod": "NODE_ENV=production npx nx build brightchain-lib --configuration=production",
"build:api-lib:prod": "NODE_ENV=production npx nx build brightchain-api-lib --configuration=production",
"build:hub-lib:prod": "NODE_ENV=production npx nx build brighthub-lib --configuration=production",
"build:db:prod": "NODE_ENV=production npx nx build brightchain-db --configuration=production",
"build:brightchain-azure-store:prod": "NODE_ENV=production npx nx build brightchain-azure-store --configuration=production",
"build:brightchain-s3-store:prod": "NODE_ENV=production npx nx build brightchain-s3-store --configuration=production",
"build:brightchain-react-components:prod": "NODE_ENV=production npx nx build brightchain-react-components --configuration=production",
"build:brighthub-react-components:prod": "NODE_ENV=production npx nx build brighthub-react-components --configuration=production",
"build:brightpass-react-components:prod": "NODE_ENV=production npx nx build brightpass-react-components --configuration=production",
"build:brightmail-react-components:prod": "NODE_ENV=production npx nx build brightmail-react-components --configuration=production",
"build:brightchat-react-components:prod": "NODE_ENV=production npx nx build brightchat-react-components --configuration=production",
"build:brightchat-lib:prod": "NODE_ENV=production npx nx build brightchat-lib --configuration=production",
"build:brightpass-lib:prod": "NODE_ENV=production npx nx build brightpass-lib --configuration=production",
"build:brightmail-lib:prod": "NODE_ENV=production npx nx build brightmail-lib --configuration=production",
"build:digitalburnbag-lib:prod": "NODE_ENV=production npx nx build digitalburnbag-lib --configuration=production",
"build:digitalburnbag-react-components:prod": "NODE_ENV=production npx nx build digitalburnbag-react-components --configuration=production",
"build:showcase:dev": "NODE_OPTIONS='--max-old-space-size=8192' npx nx build showcase --configuration=development",
"brightchain-lib:build:dev": "npx nx run brightchain-lib:build:development --configuration=development",
"brightchain-lib:build": "npx nx run brightchain-lib:build:production --configuration=production",
"brightchain-lib:test": "NODE_OPTIONS='--max-old-space-size=8192' npx nx test brightchain-lib",
"brightchain-lib:test:dev": "NODE_OPTIONS='--max-old-space-size=8192' NODE_ENV=development npx nx test brightchain-lib --configuration=development",
"brightchain-lib:test:dev:logged": "NODE_OPTIONS='--max-old-space-size=8192' NODE_ENV=development npx nx test brightchain-lib --configuration=development --outputStyle=stream 2>&1 | ansifilter -o brightchain-lib-test-dev.log",
"brightchain-lib:test:ci": "NODE_OPTIONS='--max-old-space-size=8192' npx nx test brightchain-lib --configuration=ci",
"brightchain-lib:test:force": "rm -rf node_modules/.cache && rm -rf .nx/cache && rm -rf dist && rm -rf tmp && npx nx reset && NODE_ENV=test NODE_OPTIONS='--max-old-space-size=8192' npx nx test brightchain-lib --skip-nx-cache --configuration=production",
"lint": "NODE_OPTIONS='--max-old-space-size=32768' eslint '**/*.{ts,tsx}'",
"lint:fix": "NODE_OPTIONS='--max-old-space-size=32768' eslint '**/*.{ts,tsx}' --fix",
"prettier:check": "prettier --check '**/*.{ts,tsx}'",
"prettier:fix": "prettier --write '**/*.{ts,tsx}'",
"codacy:upload": "./codacy-upload.sh",
"aws:configure": "aws configure",
"aws:credentials": "aws sts get-session-token --duration-seconds 43200",
"aws:install": "./install-aws.sh",
"test:all:e2e:dev": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=16384' npx nx run-many --target=e2e --all --configuration=development",
"test:all:e2e:dev:logged": "NODE_ENV=development NODE_OPTIONS='--max-old-space-size=16384' npx nx run-many --target=e2e --all --configuration=development --outputStyle=stream 2>&1 | ansifilter -o e2e.log",
"test:all:dev": "NODE_ENV=development npx nx run-many --target=test --all --configuration=development",
"test:all:dev:16": "NODE_ENV=development npx nx run-many --target=test --all --configuration=development --maxWorkers=16 --runInBand=false --parallel=16",
"test:all:dev:logged": "NODE_ENV=development npx nx run-many --skip-nx-cache --target=test --all --configuration=development --outputStyle=stream 2>&1 | ansifilter -o test-dev.log",
"test:enclave:required": "REQUIRE_SECURE_ENCLAVE=true NODE_ENV=development npx nx test brightchain-api-lib --configuration=development",
"test:ci": "NODE_ENV=test npx nx test brightchain-lib --parallel=16 --skip-nx-cache --configuration=ci",
"test:azure-store": "yarn nx test brightchain-azure-store",
"test:s3-store": "yarn nx test brightchain-s3-store",
"coverage:md:generate": "node tools/scripts/coverage-to-markdown.mjs",
"commands": "./list-scripts.sh",
"publish:brightchain-lib": "NODE_OPTIONS='--max-old-space-size=16384' npx nx build brightchain-lib --skip-nx-cache && cd dist/brightchain-lib && npm publish --registry https://registry.npmjs.org/ . --access public",
"serve:dev:stream": "DEV_DATABASE=dev-pool NODE_ENV=development npx nx serve brightchain-react --configuration=development --host 0.0.0.0 --port 3000 --outputStyle=stream",
"serve:api:stream": "NX_TUI=false NODE_OPTIONS='--max-old-space-size=16384' DEV_DATABASE=dev-pool NODE_ENV=development npx nx serve-full brightchain-api --configuration=development --outputStyle=stream",
"serve:api:prod": "NX_TUI=false NODE_OPTIONS='--max-old-space-size=16384' NODE_ENV=production npx nx serve-full brightchain-api --configuration=production --outputStyle=stream",
"serve:api:dev": "NX_TUI=false NODE_OPTIONS='--max-old-space-size=16384' NODE_ENV=development npx nx serve-full brightchain-api --configuration=development --outputStyle=stream",
"serve:api:dev:azure": "NX_TUI=false NODE_OPTIONS='--max-old-space-size=16384' BRIGHTCHAIN_BLOCKSTORE_TYPE=azure NODE_ENV=development npx nx serve-full brightchain-api --configuration=development --outputStyle=stream",
"inituserdb": "yarn build:all:dev:stream && npx nx serve brightchain-inituserdb --output-style=stream",
"inituserdb:full": "NODE_ENV=production yarn build:all:dev:stream --configuration=production && NODE_ENV=production npx nx serve brightchain-inituserdb --output-style=stream --args=--gen-system-user-mnemonic --args=--gen-member-user-mnemonic --args=--gen-mnemonic-hmac-secret --args=--gen-mnemonic-encryption-key --configuration=production",
"inituserdb:drop": "NODE_ENV=production yarn build:all:dev:stream --configuration=production && NODE_ENV=production npx nx serve brightchain-inituserdb --output-style=stream --args=--drop --configuration=production",
"inituserdb:full:drop": "NODE_ENV=production yarn build:all:dev:stream --configuration=production && NODE_ENV=production npx nx serve brightchain-inituserdb --output-style=stream --args=--drop --args=--gen-system-user-mnemonic --args=--gen-member-user-mnemonic --args=--gen-mnemonic-hmac-secret --args=--gen-mnemonic-encryption-key --configuration=production"
},
"private": true,
"resolutions": {
"@digitaldefiance/branded-enum": "0.0.7",
"@digitaldefiance/branded-interface": "0.0.5",
"@digitaldefiance/ecies-lib": "5.1.3",
"@digitaldefiance/node-ecies-lib": "5.1.3",
"@digitaldefiance/i18n-lib": "4.7.2",
"@digitaldefiance/node-express-suite": "4.26.8",
"@digitaldefiance/suite-core-lib": "4.26.5",
"@digitaldefiance/express-suite-react-components": "4.26.10",
"@tiptap/core": "^3.22.2",
"@tiptap/pm": "^3.22.2",
"react": "19.2.4",
"react-dom": "19.2.4"
},
"dependencies": {
"@awesome.me/kit-a20d532681": "^1.0.23",
"@aws-sdk/client-ses": "^3.1024.0",
"@azure/identity": "^4.6.0",
"@azure/storage-blob": "^12.26.0",
"@brightchain/brightchain-api-lib": "*",
"@brightchain/brightchain-lib": "*",
"@brightchain/brightchain-react-components": "*",
"@brightchain/brightchat-lib": "*",
"@brightchain/brighthub-lib": "*",
"@brightchain/brighthub-react-components": "*",
"@brightchain/brightmail-lib": "*",
"@brightchain/brightmail-react-components": "*",
"@brightchain/brightpass-lib": "*",
"@brightchain/brightpass-react-components": "*",
"@brightchain/db": "*",
"@brightchain/digitalburnbag-api-lib": "*",
"@brightchain/digitalburnbag-lib": "*",
"@brightchain/digitalburnbag-react-components": "*",
"@digitaldefiance/branded-enum": "0.0.7",
"@digitaldefiance/branded-interface": "0.0.5",
"@digitaldefiance/bzip2-wasm": "^1.1.1",
"@digitaldefiance/ecies-lib": "5.1.3",
"@digitaldefiance/express-suite-react-components": "4.26.10",
"@digitaldefiance/i18n-lib": "4.7.2",
"@digitaldefiance/node-ecies-lib": "5.1.3",
"@digitaldefiance/node-express-suite": "4.26.8",
"@digitaldefiance/reed-solomon-erasure.wasm": "^1.0.2",
"@digitaldefiance/secrets": "^2.0.7",
"@digitaldefiance/suite-core-lib": "4.26.5",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.1",
"@ethereumjs/wallet": "^10.0.0",
"@fortawesome/fontawesome-svg-core": "^7.2.0",
"@fortawesome/react-fontawesome": "^3.2.0",
"@mui/icons-material": "^7.3.7",
"@mui/material": "^7.3.7",
"@mui/material-nextjs": "^7.3.7",
"@mui/system": "^7.3.8",
"@mui/x-date-pickers": "^8.23.0",
"@noble/curves": "^1.9.0",
"@noble/hashes": "^1.8.0",
"@scure/bip32": "^1.7.0",
"@scure/bip39": "^1.6.0",
"@sendgrid/mail": "^8.1.4",
"@swc/helpers": "0.5.15",
"@tiptap/core": "^3.22.2",
"@tiptap/extension-link": "^3.22.2",
"@tiptap/extension-underline": "^3.22.2",
"@tiptap/pm": "^3.22.2",
"@tiptap/react": "^3.22.2",
"@tiptap/starter-kit": "^3.22.2",
"axios": "^1.13.6",
"bcrypt": "^5.1.1",
"better-sqlite3": "^12.8.0",
"bip39": "^3.1.0",
"blakejs": "^1.2.1",
"bloom-filters": "^3.0.4",
"bn.js": "^5.2.1",
"bson": "^7.0.0",
"buffer": "^6.0.3",
"chokidar": "^5.0.0",
"clsx": "^2.0.0",
"cookie": "0.7.1",
"cors": "^2.8.5",
"crc": "^4.3.2",
"currency-codes": "^2.2.0",
"date-fns": "^4.1.0",
"ejs": "^3.1.10",
"elliptic": "6.6.1",
"email-addresses": "^5.0.0",
"express": "^5.1.0",
"express-validator": "^7.2.1",
"file-type": "^20.1.0",
"helmet": "^8.0.0",
"helmet-csp": "^4.0.0",
"i18next": "^24.2.1",
"i18next-browser-languagedetector": "^8.0.2",
"i18next-http-backend": "^3.0.1",
"js-sha3": "^0.9.3",
"jsonwebtoken": "^9.0.2",
"keytar": "^7.9.0",
"known-css-properties": "^0.34.0",
"markdown-it": "^14.1.1",
"markdown-it-abbr": "^2.0.0",
"markdown-it-container": "^4.0.0",
"markdown-it-deflist": "^3.0.0",
"markdown-it-footnote": "^4.0.0",
"markdown-it-mark": "^4.0.0",
"markdown-it-table-of-contents": "^1.1.0",
"markdown-it-task-lists": "^2.1.1",
"mimetext": "^3.0.28",
"moment-timezone": "^0.6.0",
"nodemailer": "^8.0.2",
"otpauth": "^9.5.0",
"paillier-bigint": "^3.4.3",
"path-to-regexp": "1.9.0",
"postal-mime": "^2.7.3",
"postcss": "^8.5.8",
"qrcode": "^1.5.4",
"rand-seed": "^1.0.2",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-router-dom": "6.11.2",
"reflect-metadata": "^0.2.2",
"sanitize-html": "^2.17.1",
"sass": "^1.83.1",
"secp256k1": "5.0.1",
"send": "0.19.1",
"tmp": "^0.2.1",
"ts-brand": "^0.0.2",
"tslib": "^2.3.0",
"uuid": "11.0.5",
"validator": "^13.11.0",
"webpack": "5.101.3",
"ws": "^8.19.0"
},
"devDependencies": {
"@babel/core": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@digitaldefiance/express-suite-test-utils": "^1.1.2",
"@eslint/js": "^9.39.4",
"@faker-js/faker": "^8.3.1",
"@fortawesome/fontawesome-common-types": "^7.2.0",
"@nrwl/react": "19.8.4",
"@nx/cypress": "22.3.3",
"@nx/devkit": "22.3.3",
"@nx/esbuild": "22.3.3",
"@nx/eslint": "22.3.3",
"@nx/eslint-plugin": "22.3.3",
"@nx/jest": "22.3.3",
"@nx/js": "22.3.3",
"@nx/node": "22.3.3",
"@nx/playwright": "22.3.3",
"@nx/react": "22.3.3",
"@nx/vite": "22.3.3",
"@nx/web": "22.3.3",
"@nx/webpack": "22.3.3",
"@playwright/test": "^1.59.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@svgr/webpack": "^8.0.1",
"@swc-node/register": "1.11.1",
"@swc/cli": "0.7.10",
"@swc/core": "1.5.7",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "16.3.0",
"@types/bcrypt": "^6.0.0",
"@types/better-sqlite3": "^7.6.13",
"@types/cors": "^2.8.17",
"@types/crc": "^4.0.0",
"@types/ejs": "^3.1.5",
"@types/elliptic": "^6.4.18",
"@types/email-addresses": "^3.0.0",
"@types/express": "^5.0.0",
"@types/express-serve-static-core": "^5.0.0",
"@types/express-validator": "^3.0.2",
"@types/file-type": "^10.9.3",
"@types/helmet": "^4.0.0",
"@types/jest": "30.0.0",
"@types/jsonwebtoken": "^9.0.7",
"@types/markdown-it": "^14.1.2",
"@types/moment-timezone": "^0.5.30",
"@types/node": "22",
"@types/nodemailer": "^7.0.11",
"@types/qrcode": "^1.5.6",
"@types/react": "19.2.9",
"@types/react-dom": "19.0.1",
"@types/reflect-metadata": "^0.1.0",
"@types/sanitize-html": "^2.16.0",
"@types/secp256k1": "^4",
"@types/supertest": "^6.0.3",
"@types/tmp": "^0.2.6",
"@types/uuid": "^9.0.7",
"@types/validator": "^13.11.7",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "8.50.1",
"@typescript-eslint/parser": "8.50.1",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/ui": "^4.0.0",
"ajv": "^8.0.0",
"babel-jest": "30.0.5",
"cypress": "15.8.1",
"dotenv": "^17.4.0",
"esbuild": "^0.25.0",
"eslint": "^9.24.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-cypress": "^2.13.4",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "^29.12.2",
"eslint-plugin-jsx-a11y": "6.10.1",
"eslint-plugin-playwright": "^1.6.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "7.35.0",
"eslint-plugin-react-hooks": "5.0.0",
"fast-check": "^4.5.3",
"globals": "^17.0.0",
"jest": "30.0.5",
"jest-environment-jsdom": "30.0.5",
"jest-environment-node": "30.0.5",
"jest-util": "30.2.0",
"jiti": "2.4.2",
"jsdom": "~22.1.0",
"jsonc-eslint-parser": "^2.1.0",
"lcov-parse": "^1.0.0",
"nx": "22.3.3",
"prettier": "~3.6.2",
"prettier-plugin-organize-imports": "^4.1.0",
"pretty-format": "^30.0.5",
"react-refresh": "^0.10.0",
"supertest": "^7.2.2",
"ts-jest": "29.4.6",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "5.9.3",
"url-loader": "^4.1.1",
"verdaccio": "^6.0.5",
"vite": "^7.0.0",
"vite-plugin-dts": "~4.5.0",
"vitest": "^4.0.0"
},
"nx": {
"includedScripts": []
},
"packageManager": "yarn@4.10.3"
}