-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpackage.json
194 lines (194 loc) · 6.86 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
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": "account-lookup-service",
"description": "Account Lookup Service is used to validate Party and Participant lookups.",
"version": "16.0.2",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"Rajiv Mothilal <[email protected]>",
"Matt Kingston <[email protected]>",
"Lewis Daly <[email protected]>",
"Shashikant Hirugade <[email protected]>",
"Sam Kummmary <[email protected]>",
"Steven Oderayi <[email protected]>",
"Kevin Leyow <[email protected]>",
"Miguel de Barros <[email protected]>"
],
"repository": {
"type": "git",
"url": "git://github.com/mojaloop/account-lookup-service.git"
},
"bugs": "http://github.com/mojaloop/account-lookup-service/issues",
"engines": {
"node": ">=18.x"
},
"config": {
"knex": "--knexfile ./config/knexfile.js",
"env_file": "--env-file ./test/integration/.env"
},
"standard": {
"env": [
"jest"
]
},
"pre-commit": [
"lint",
"dep:check",
"audit:check",
"test"
],
"scripts": {
"start": "node src/index.js server",
"start:all": "run-p start:api start:admin start:handlers",
"start:api": "node src/index.js server --api",
"start:admin": "node src/index.js server --admin",
"start:handlers": "node src/handlers/index.js handlers --timeout",
"standard": "standard",
"standard:fix": "standard --fix",
"lint": "npm run standard",
"lint:fix": "npm run standard:fix",
"dev": "nodemon src/index.js server",
"test": "npm run test:unit",
"test:unit": "jest --runInBand",
"test:coverage": "npm test -- --coverage --coverageThreshold='{}'",
"test:coverage-check": "npm test -- --coverage",
"test:junit": "npm test -- --reporters=default --reporters=jest-junit",
"test:xunit": "npm run test:junit",
"test:functional": "sh ./scripts/test-functional.sh",
"test:int": "npm run migrate && npm run onboarding && jest --config=./jest-int.config.js --runInBand",
"test:integration": "TEST_MODE=rm ./test/integration-runner.sh",
"onboarding": "node test/integration/prepareTestParticipants.js",
"cover": "npx nyc --all report --reporter=lcov npm run test",
"migrate": "run-s migrate:latest seed:run",
"migrate:latest": "knex $npm_package_config_knex migrate:latest",
"migrate:create": "knex migrate:make $npm_package_config_knex",
"migrate:rollback": "knex migrate:rollback $npm_package_config_knex",
"migrate:current": "knex migrate:currentVersion $npm_package_config_knex",
"seed:run": "knex seed:run $npm_package_config_knex",
"seed:create": "knex seed:make $npm_package_config_knex",
"regenerate": "yo swaggerize:test --framework hapi --apiPath './config/api_swagger.json'",
"dc:build": "docker compose $npm_package_config_env_file build",
"dc:up": ". ./test/integration/env.sh && docker compose $npm_package_config_env_file up -d && docker ps",
"dc:down": ". ./test/integration/env.sh && docker compose $npm_package_config_env_file down -v",
"docker:build": "docker build --build-arg NODE_VERSION=\"$(cat .nvmrc)-alpine\" -t mojaloop/account-lookup-service:local -f ./Dockerfile .",
"docker:run": "docker run -p 3000:3000 --rm central-directory:local",
"generate-docs": "jsdoc -c jsdoc.json",
"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": "npx standard-version --no-verify --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "npx 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": "6.0.2",
"@hapi/good": "9.0.1",
"@hapi/hapi": "21.3.12",
"@hapi/inert": "7.1.0",
"@hapi/joi": "17.1.1",
"@hapi/vision": "7.0.3",
"@mojaloop/central-services-error-handling": "13.0.2",
"@mojaloop/central-services-health": "15.0.0",
"@mojaloop/central-services-logger": "11.5.1",
"@mojaloop/central-services-metrics": "12.4.2",
"@mojaloop/central-services-shared": "18.7.1",
"@mojaloop/central-services-stream": "11.4.1",
"@mojaloop/database-lib": "11.1.0",
"@mojaloop/event-sdk": "14.1.1",
"@mojaloop/inter-scheme-proxy-cache-lib": "2.3.1",
"@mojaloop/sdk-standard-components": "18.4.0",
"@now-ims/hapi-now-auth": "2.1.0",
"ajv": "8.17.1",
"ajv-keywords": "5.1.0",
"blipp": "4.0.2",
"commander": "13.0.0",
"cron": "3.3.2",
"fast-safe-stringify": "^2.1.1",
"hapi-auth-bearer-token": "8.0.0",
"joi": "17.13.3",
"knex": "3.1.0",
"mustache": "4.2.0",
"mysql": "2.18.1",
"npm-run-all": "4.1.5",
"parse-strings-in-object": "2.0.0",
"rc": "1.2.8"
},
"overrides": {
"@mojaloop/central-services-error-handling": {
"@mojaloop/sdk-standard-components": "$@mojaloop/sdk-standard-components"
},
"@mojaloop/central-services-health": {
"@mojaloop/central-services-logger": ">=11.4.0"
},
"@mojaloop/central-services-shared": {
"@mojaloop/central-services-logger": ">=11.4.0"
},
"@mojaloop/central-services-stream": {
"@mojaloop/central-services-logger": ">=11.4.0"
},
"shins": {
"ajv": "6.12.3",
"ejs": "3.1.10",
"sanitize-html": "2.12.1",
"yargs-parser": "18.1.1",
"markdown-it": "12.3.2",
"yaml": "2.7.0"
},
"widdershins": {
"swagger2openapi": "7.0.8",
"yargs-parser": "13.1.2",
"markdown-it": "12.3.2",
"yaml": "2.7.0"
},
"swagger2openapi": {
"yaml": "2.7.0"
},
"oas-validator": {
"yaml": "2.7.0"
},
"oas-linter": {
"yaml": "2.7.0"
},
"cross-spawn": "7.0.6",
"yargs": {
"yargs-parser": "^21.1.1"
},
"jsonwebtoken": "9.0.0",
"jsonpointer": "5.0.0",
"validator": "13.7.0"
},
"devDependencies": {
"@types/jest": "29.5.14",
"audit-ci": "^7.1.0",
"axios": "1.7.9",
"axios-retry": "^4.5.0",
"docdash": "2.0.2",
"dotenv": "^16.4.7",
"get-port": "5.1.1",
"ioredis-mock": "^8.9.0",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"jsdoc": "4.0.4",
"nodemon": "3.1.9",
"npm-check-updates": "17.1.13",
"nyc": "17.1.0",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"replace": "^1.2.2",
"sinon": "19.0.2",
"standard": "17.1.2",
"standard-version": "^9.5.0",
"swagmock": "1.0.0"
},
"generator-swaggerize": {
"version": "4.1.0"
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}