-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
79 lines (79 loc) · 3.87 KB
/
package.json
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
{
"name": "@mojaloop/settlements-bc",
"version": "0.6.0",
"description": "Settlements Bounded Context",
"license": "Apache-2.0",
"homepage": "https://github.com/mojaloop/settlements-bc",
"bugs": {
"url": "https://github.com/mojaloop/settlements-bc/issues#readme"
},
"contributors": [
"Jason Bruwer <jason.bruwer@coil.com>"
],
"private": true,
"scripts": {
"prepare": "husky install",
"pre_commit_check": "npm run build && npm run lint && npm run test:unit",
"clean": "(npm run clean:dist || true) && npm run clean:npm",
"clean:npm": "(rm -Rf node_modules || true) && npm -ws run clean:npm",
"clean:dist": "(rm -Rf dist || true) && npm -ws run clean:dist",
"dep:check": "ncu -e 2; npm -ws run dep:check",
"dep:update": "ncu -e 2 -u; npm -ws run dep:update",
"audit:check": "npm -ws -p run audit:check",
"audit:fix": "npm -ws -p run audit:fix",
"lint": "npm -ws -p run lint",
"lint:fix": "npm -ws run lint:fix",
"build": "npm -ws run build",
"test:unit": "npm -ws --if-present run test:unit",
"test:unit:domain": "npm -ws -p run test:unit:domain",
"test:integration": "jest test/integration/",
"test:integration-http": "jest test/integration/http.test.ts",
"test:integration-grpc": "jest test/integration/grpc.test.ts",
"publish:grpc-client-lib": "npm -w @mojaloop/settlements-grpc-client-lib run pub",
"publish:http-client-lib": "npm -w @mojaloop/settlements-bc-http-client-lib run pub",
"publish:grpc-common-lib": "npm -w @mojaloop/settlements-bc-grpc-common-lib run pub",
"publish:public-types-lib": "npm -w @mojaloop/settlements-bc-public-types-lib run pub",
"posttest": "npm run coverage:merge && npm run coverage:gen-report",
"coverage:merge": "nyc merge ./coverage/ ./coverage/coverage.json",
"coverage:gen-report": "nyc report --reporter=lcov --temp-dir=./coverage",
"test": "npm run test:unit",
"start:api-svc": "npm -w @mojaloop/settlements-bc-settlements-api-svc run start",
"start:command-handler-svc": "npm -w packages/command-handler-svc run start",
"start:event-handler-svc": "npm -w packages/event-handler-svc run start",
"start:api-svc-jmeter-tigerbeetle": "NODE_ENV='dev-jmeter' MONGO_URL='mongodb://root:mongoDbPas42@localhost:27017/' USE_TIGERBEETLE=true LOG_LEVEL=info npx ts-node scripts/jmeter/api-svc-tigerbeetle.ts",
"start:command-handler-svc-jmeter-tigerbeetle": "NODE_ENV='dev-jmeter' MONGO_URL='mongodb://root:mongoDbPas42@localhost:27017/' USE_TIGERBEETLE=true LOG_LEVEL=info npx ts-node scripts/jmeter/cmd-handler-tigerbeetle.ts",
"start:event-handler-svc-jmeter-tigerbeetle": "NODE_ENV='dev-jmeter' MONGO_URL='mongodb://root:mongoDbPas42@localhost:27017/' USE_TIGERBEETLE=true LOG_LEVEL=info PLATFORM_CONFIG_BASE_SVC_URL='http://localhost:3100' npx ts-node scripts/jmeter/event-handler-tigerbeetle.ts",
"start:api-svc-jmeter-mongo": "NODE_ENV='dev-jmeter' MONGO_URL='mongodb://root:mongoDbPas42@localhost:27017/' USE_TIGERBEETLE=false LOG_LEVEL=info npx ts-node scripts/jmeter/api-svc-mongo.ts",
"start:command-handler-svc-jmeter-mongo": "NODE_ENV='dev-jmeter' MONGO_URL='mongodb://root:mongoDbPas42@localhost:27017/' USE_TIGERBEETLE=false LOG_LEVEL=info npx ts-node scripts/jmeter/cmd-handler-mongo.ts"
},
"devDependencies": {
"@types/jest": "~29.5.13",
"@types/node": "^18.15.13",
"@types/supertest": "^2.0.16",
"@typescript-eslint/eslint-plugin": "~5.57.1",
"@typescript-eslint/parser": "~5.57.1",
"eslint": "~8.37.0",
"husky": "~8.0.3",
"jest": "~29.5.0",
"npm-check-updates": "~16.10.19",
"nyc": "^15.1.0",
"supertest": "^6.3.4",
"ts-jest": "~29.1.5",
"tslib": "~2.6.3",
"typescript": "~5.0.4"
},
"workspaces": [
"packages/public-types-lib",
"packages/domain-lib",
"packages/settlements-config-lib",
"packages/infrastructure-lib",
"packages/shared-mocks-lib",
"packages/settlements-bc-shared-mocks-lib",
"packages/event-handler-svc",
"packages/command-handler-svc",
"packages/*"
],
"engines": {
"node": ">=20.10.0"
}
}