-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpackage.json
More file actions
194 lines (194 loc) · 6.31 KB
/
package.json
File metadata and controls
194 lines (194 loc) · 6.31 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
{
"name": "central-settlement",
"private": true,
"description": "Central settlements hosted by a scheme to record and make settlements.",
"version": "17.3.4",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"Deon Botha <deon.botha@modusbox.com>",
"Georgi Georgiev <georgi.georgiev@modusbox.com>",
"Lazola Lucas <lazola.lucas@modusbox.com>",
"Miguel de Barros <miguel.debarros@modusbox.com>",
"Rajiv Mothilal <rajiv.mothilal@modusbox.com>",
"Valentin Genev <valentin.genev@modusbox.com>",
"Adrian Enns <adrian.enns@modusbox.com>"
],
"repository": {
"type": "git",
"url": "git://github.com/mojaloop/central-settlement"
},
"bugs": "http://github.com/mojaloop/central-settlement/issues",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"engines": {
"node": ">=22.x"
},
"pre-commit": [
"lint",
"dep:check",
"test:unit"
],
"scripts": {
"start": "run-p start:api",
"start:api": "node src/api/index.js",
"watch:api": "nodemon src/api/index.js",
"start:handlers": "node src/handlers/index.js",
"regenerate": "yo swaggerize:test --framework hapi --apiPath './src/interface/swagger.yaml'",
"lint": "standard",
"lint:fix": "standard --fix",
"eslint": "eslint .",
"test": "npm run test:unit",
"test:unit": "npx tape 'test/unit/**/*.test.js' | tap-spec",
"test:xunit": "tape 'test/unit/**/*.test.js' | tap-xunit",
"test:coverage": "nyc --reporter=lcov --reporter=text-summary tapes -- 'test/unit/**/**.test.js'",
"test:coverage-check": "npm run test:coverage && nyc check-coverage",
"test:int": "npx tape 'test/integration/**/*.test.js'",
"test:int:spec": "npm run test:int | tap-spec",
"test:xint": "npm run test:int | tap-xunit > ./test/results/xunit-integration.xml",
"test:functional": "echo 'No functional tests defined'",
"test:integration": "./test/scripts/test-integration.sh",
"docker:build": "docker build --build-arg NODE_VERSION=\"$(cat .nvmrc)-alpine\" -t mojaloop/central-settlement:local .",
"docker:up": "docker-compose -f docker-compose.yml up -d",
"docker:stop": "docker-compose -f docker-compose.yml stop",
"docker:rm": "docker-compose -f docker-compose.yml rm -f -v",
"docker:down": "docker-compose -f docker-compose.yml down -v",
"docker:clean": "docker-compose -f docker-compose.yml down --rmi local",
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u",
"release": "standard-version --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'",
"wait-4-docker": "node ./scripts/_wait4_all.js"
},
"dependencies": {
"@hapi/basic": "7.0.2",
"@hapi/boom": "10.0.1",
"@hapi/catbox-memory": "5.0.1",
"@hapi/good": "9.0.1",
"@hapi/hapi": "21.4.7",
"@hapi/inert": "7.1.0",
"@hapi/vision": "7.0.3",
"@mojaloop/central-ledger": "v19.14.0",
"@mojaloop/central-services-error-handling": "13.1.6",
"@mojaloop/central-services-health": "15.2.2",
"@mojaloop/central-services-logger": "11.10.4",
"@mojaloop/central-services-shared": "18.35.6",
"@mojaloop/central-services-stream": "11.9.1",
"@mojaloop/database-lib": "^11.3.7",
"@mojaloop/event-sdk": "14.8.3",
"@mojaloop/ml-number": "11.4.3",
"@mojaloop/sdk-standard-components": "19.18.8",
"@now-ims/hapi-now-auth": "2.1.0",
"async": "3.2.6",
"async-retry": "1.3.3",
"bignumber.js": "10.0.2",
"blipp": "4.0.2",
"hapi-auth-bearer-token": "8.0.0",
"hapi-openapi": "3.0.0",
"hapi-swagger": "17.3.2",
"lodash": "4.17.23",
"lodash-es": "4.17.23",
"mustache": "4.2.0",
"parse-strings-in-object": "2.0.0",
"rc": "1.2.8",
"vm": "0.1.0"
},
"devDependencies": {
"@hapi/joi": "17.1.1",
"@mojaloop/central-services-metrics": "12.8.5",
"@types/lodash": "4.17.24",
"ajv": "8.18.0",
"ajv-keywords": "5.1.0",
"audit-ci": "7.1.0",
"axios": "1.14.0",
"bluebird": "3.7.2",
"chai": "6.2.2",
"chai-exclude": "3.0.1",
"chai-subset": "1.6.0",
"eslint": "9.39.2",
"esm": "3.2.25",
"get-port": "7.2.0",
"jest": "30.3.0",
"jest-junit": "16.0.0",
"node-fetch": "3.3.2",
"nodemon": "3.1.14",
"npm-check-updates": "19.6.6",
"nyc": "18.0.0",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"replace": "1.2.2",
"rewire": "9.0.1",
"sinon": "21.0.3",
"standard": "17.1.2",
"standard-version": "9.5.0",
"supertest": "7.2.2",
"swagmock": "1.0.0",
"tap-spec": "5.0.0",
"tap-xunit": "2.4.1",
"tape": "5.9.0",
"tapes": "4.1.0"
},
"overrides": {
"@eslint/plugin-kit": "0.3.4",
"axios": "1.14.0",
"ansi-regex": "5.0.1",
"ajv@6": "6.14.0",
"ajv@8": "8.18.0",
"fast-xml-parser": "5.5.7",
"flatted": "3.4.2",
"form-data": "4.0.5",
"immutable": "5.1.5",
"lodash": "4.17.23",
"lodash-es": "4.17.23",
"minimatch@3": "3.1.5",
"minimatch@5": "5.1.8",
"minimatch@9": "9.0.9",
"postcss": {
"nanoid": "3.3.8"
},
"shins": {
"ejs": "3.1.10",
"sanitize-html": "2.12.1",
"jsonpointer": "5.0.0",
"markdown-it": "12.3.2",
"postcss": "8.4.31",
"undici": "7.24.5"
},
"widdershins": {
"markdown-it": "12.3.2",
"swagger2openapi": "7.0.8"
},
"jsonwebtoken": "9.0.0",
"markdown-it": "12.3.2",
"on-headers": "1.1.0",
"trim": "0.0.3",
"cross-spawn": "7.0.6",
"undici": "7.24.5",
"validator": "13.15.22",
"yargs-parser": "21.1.1",
"qs": "6.14.2",
"bn.js": "5.2.3",
"brace-expansion@5": "5.0.5",
"convict": "6.2.5",
"path-to-regexp": "0.1.13",
"yaml@1": "1.10.3",
"yaml@2": "2.8.3"
},
"generator-swaggerize": {
"version": "4.1.0"
},
"main": "./server",
"standard": {
"ignore": [
"test/unit/data/invalidFile/dummyFeeCalculationTestScriptInvalidFile.js"
]
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}