forked from sublime247/mobile-money
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
221 lines (221 loc) · 8.45 KB
/
Copy pathpackage.json
File metadata and controls
221 lines (221 loc) · 8.45 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
{
"name": "backend",
"version": "1.0.0",
"description": "Mobile money to Stellar backend service",
"main": "dist/index.js",
"scripts": {
"momo-cli": "tsx src/scripts/momo-cli.ts",
"prepare": "husky",
"audit:high": "npm audit --audit-level=high",
"snyk:test:high": "snyk test --severity-threshold=high",
"format": "prettier --write .",
"format:check": "prettier --check .",
"dev": "tsx watch src/index.ts",
"docker:dev": "docker-compose -f docker-compose.dev.yml up",
"docker:dev:down": "docker-compose -f docker-compose.dev.yml down",
"provider-mock:dev": "tsx scripts/provider-mock-server.ts",
"build": "tsc",
"check-cert": "tsx scripts/cert_check.ts",
"start": "node dist/index.js",
"lint": "eslint src",
"test": "NODE_OPTIONS=--experimental-vm-modules jest --forceExit --testPathIgnorePatterns=tests/pact",
"test:pact": "NODE_OPTIONS=--experimental-vm-modules jest --config jest.pact.config.js --forceExit",
"test:watch": "jest --watch",
"test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage --forceExit",
"test:e2e": "npx playwright test --project=chromium",
"test:e2e:ci": "npx playwright install --with-deps && npx playwright test --project=chromium --workers=2 --retries=1 --reporter=dot",
"test:mutation:dry": "stryker run stryker.conf.json --dryRunOnly",
"test:mutation": "stryker run stryker.conf.json",
"type-check": "tsc --noEmit",
"migrate:up": "tsx src/scripts/migrate.ts up",
"migrate:down": "tsx src/scripts/migrate.ts down",
"migrate:create": "tsx src/scripts/migrate.ts create",
"migrate:status": "tsx src/scripts/migrate.ts status",
"seed": "tsx src/scripts/seed.ts",
"reconcile:ledger": "tsx src/scripts/reconcile-ledger.ts",
"backup:create": "tsx src/scripts/backup.ts",
"backup:verify": "tsx src/scripts/verify-backups.ts",
"reindex:bloated-indexes": "tsx src/scripts/reindex-bloated-indexes.ts",
"postinstall": "npm run prepare",
"contracts:build": "cd contracts && cargo build --target wasm32v1-none --release",
"contracts:test": "cd contracts && cargo test",
"contracts:check": "bash scripts/check-wasm.sh",
"contracts:build:verify": "npm run contracts:build && npm run contracts:check",
"test:load": "k6 run tests/load/api.js",
"test:load:stress": "k6 run -e SCENARIO=stress tests/load/api.js",
"test:load:transactions": "k6 run -e SCENARIO=transactions tests/load/api.js",
"test:load:breakpoint": "k6 run -e SCENARIO=breakpoint tests/load/api.js",
"test:load:legacy": "k6 run tests/load/k6/load_test_scenarios.js",
"test:bench": "node tests/load/autocannon/benchmark.js",
"bench:soroban-gas": "node benchmarks/soroban-gas-bench.js",
"sdk:generate": "echo 'Start dev server first (npm run dev), then run: openapi-generator-cli generate -i http://localhost:3000/docs/openapi.json -c sdk-config.yaml -o sdk'",
"sdk:generate:python": "openapi-generator-cli generate --generator-key python",
"sdk:build": "cd sdk && ./gradlew build",
"sdk:generate:ts": "openapi-generator-cli generate -i http://localhost:3000/docs/openapi.json -c sdk-config-ts.yaml -o sdk-ts",
"sdk:build:ts": "cd sdk-ts && npm install && npm run build",
"docs:dev": "npm --prefix docs-portal run start",
"docs:build": "npm --prefix docs-portal run build",
"test:load:ingestion-10k": "k6 run --vus-max 12000 -e SCENARIO=ingestion_10k tests/load/api.js",
"test:load:spike-10k": "k6 run --vus-max 12000 -e SCENARIO=spike_10k tests/load/api.js",
"test:load:traffic-spike": "k6 run --vus-max 6000 -e SCENARIO=traffic_spike tests/load/api.js",
"test:load:spike-5k": "k6 run --vus-max 6000 -e SCENARIO=spike_5k tests/load/api.js"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"jest --bail --findRelatedTests"
],
"*.{js,cjs,mjs,json,md,yml,yaml}": "prettier --write"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@apollo/client": "^4.2.1",
"@asteasolutions/zod-to-openapi": "8.5.0",
"@aws-sdk/client-s3": "^3.1017.0",
"@aws-sdk/lib-storage": "^3.1017.0",
"@bull-board/api": "^6.20.6",
"@bull-board/express": "^6.20.6",
"@node-saml/passport-saml": "^5.1.0",
"@sendgrid/mail": "^8.1.6",
"@sentry/node": "^10.47.0",
"@types/passport": "^1.0.17",
"@types/speakeasy": "^2.0.10",
"@types/swagger-ui-express": "4.1.8",
"africastalking": "^0.7.9",
"amqp-connection-manager": "^5.0.0",
"amqplib": "^0.10.9",
"apollo-server-core": "^3.13.0",
"apollo-server-express": "^3.13.0",
"archiver": "^7.0.1",
"axios": "^1.7.9",
"bcrypt": "^6.0.0",
"bullmq": "^5.71.1",
"casbin": "^5.49.0",
"compression": "^1.7.4",
"connect-redis": "^7.1.1",
"connect-timeout": "^1.9.0",
"convict": "^6.2.5",
"cors": "^2.8.5",
"crypto-hash": "^4.0.1",
"csv-parser": "^3.2.0",
"dd-trace": "^5.93.0",
"dotenv": "^17.3.1",
"elliptic": "^6.6.1",
"envalid": "^8.1.1",
"exceljs": "^4.4.0",
"express": "^4.18.2",
"express-rate-limit": "^8.3.2",
"express-session": "^1.19.0",
"firebase-admin": "^13.7.0",
"geoip-lite": "^2.0.1",
"graphql": "^16.13.2",
"graphql-depth-limit": "^1.1.0",
"graphql-query-complexity": "^1.1.0",
"graphql-redis-subscriptions": "^2.6.1",
"graphql-subscriptions": "^3.0.0",
"graphql-ws": "^6.0.8",
"helmet": "^8.1.0",
"i18next": "^23.16.8",
"import-in-the-middle": "^3.0.1",
"ioredis": "^5.10.1",
"json2csv": "^6.0.0-alpha.2",
"jsonwebtoken": "^9.0.3",
"jspdf": "^4.2.1",
"jspdf-autotable": "^5.0.7",
"libphonenumber-js": "^1.12.40",
"maxmind": "^5.0.6",
"multer": "^2.1.1",
"nats": "^2.28.2",
"node-cache": "^5.1.2",
"node-cron": "^3.0.3",
"nodemailer": "^8.0.4",
"opossum": "^9.0.0",
"passport": "^0.7.0",
"passport-google-oauth20": "^2.0.0",
"passport-openidconnect": "^0.1.2",
"pdfkit": "^0.18.0",
"pg": "^8.11.3",
"pg-query-stream": "^4.10.3",
"pino": "^10.3.1",
"pino-loki": "2.3.0",
"pino-pretty": "^13.1.3",
"prom-client": "^15.1.3",
"qrcode": "^1.5.3",
"rate-limiter-flexible": "^11.0.1",
"redis": "^5.11.0",
"redlock": "^5.0.0-beta.2",
"sharp": "^0.34.5",
"spdy": "^4.0.2",
"speakeasy": "^2.0.0",
"stellar-sdk": "^11.3.0",
"supports-color": "^10.2.2",
"twilio": "^6.0.2",
"ua-parser-js": "^2.0.9",
"uuid": "^9.0.0",
"ws": "^8.18.0",
"xmlbuilder2": "^4.0.3",
"zod": "^4.3.6"
},
"devDependencies": {
"@aws-sdk/client-kms": "^3.1036.0",
"@cloudflare/workers-types": "^4.20250422.0",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@pact-foundation/pact": "^16.3.0",
"@playwright/test": "^1.59.1",
"@stryker-mutator/core": "^9.6.1",
"@stryker-mutator/jest-runner": "^9.6.1",
"@stryker-mutator/typescript-checker": "^9.6.1",
"@types/amqplib": "^0.10.8",
"@types/archiver": "^7.0.0",
"@types/bcrypt": "^6.0.0",
"@types/compression": "^1.7.5",
"@types/connect-timeout": "^0.0.38",
"@types/cors": "^2.8.17",
"@types/elliptic": "^6.4.18",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.2",
"@types/jest": "^29.5.14",
"@types/js-yaml": "^4.0.9",
"@types/jsonwebtoken": "^9.0.10",
"@types/multer": "^2.1.0",
"@types/node": "^25.6.0",
"@types/node-cache": "^4.2.5",
"@types/node-cron": "^3.0.11",
"@types/nodemailer": "^7.0.11",
"@types/passport": "^1.0.17",
"@types/passport-google-oauth20": "^2.0.17",
"@types/passport-openidconnect": "^0.1.3",
"@types/passport-saml": "^1.1.7",
"@types/pdfkit": "^0.17.6",
"@types/pg": "^8.10.9",
"@types/qrcode": "^1.5.5",
"@types/redis": "^4.0.11",
"@types/spdy": "^3.4.9",
"@types/speakeasy": "^2.0.10",
"@types/supertest": "^7.2.0",
"@types/ua-parser-js": "^0.7.39",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.14",
"@typescript-eslint/eslint-plugin": "^8.59.0",
"@typescript-eslint/parser": "^8.57.2",
"@typescript-eslint/typescript-estree": "^8.57.2",
"autocannon": "^7.15.0",
"eslint": "^10.2.1",
"fast-check": "^4.7.0",
"husky": "^9.1.7",
"jest": "^30.4.2",
"js-yaml": "^4.1.1",
"lint-staged": "^16.4.0",
"playwright": "^1.60.0",
"prettier": "^3.8.3",
"supertest": "^7.2.2",
"ts-jest": "^29.4.11",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}