-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
158 lines (158 loc) · 5.95 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
{
"name": "@mojaloop/ml-api-adapter",
"version": "15.0.0",
"description": "Convert from ML API to/from internal Central Services messaging format",
"license": "Apache-2.0",
"private": true,
"author": "ModusBox",
"contributors": [
"Miguel de Barros <[email protected]>",
"Georgi Georgiev <[email protected]>",
"Miguel de Barros <[email protected]>",
"Murthy Kakarlamudi <[email protected]>",
"Rajiv Mothilal <[email protected]>",
"Sam Kummary <[email protected]>",
"Steven Oderayi <[email protected]>",
"Valentin Genev <[email protected]>"
],
"repository": {
"type": "git",
"url": "[email protected]:mojaloop/ml-api-adapter.git"
},
"engines": {
"node": ">=18.x"
},
"pre-commit": [
"lint",
"dep:check",
"test"
],
"scripts": {
"start": "npm run start:api",
"start:api": "node src/api/index.js",
"start:debug": "npm start --node-options --inspect=0.0.0.0",
"start:handler": "node src/handlers/index.js handler --notification",
"start:handler:debug": "npm run start:handler --node-options --inspect=0.0.0.0",
"watch": "npm run watch:api",
"watch:api": "npx nodemon src/api/index.js",
"pretest": "npm run lint",
"standard": "npx standard",
"standard:fix": "npm run standard -- --fix",
"lint": "npm run standard",
"lint:fix": "npm run standard:fix",
"test": "npm run test:unit:spec",
"test:unit": "npx tape 'test/unit/**/*.test.js'",
"test:unit:spec": "npm run test:unit | tap-spec",
"test:xunit": "npm run test:unit | tap-xunit > ./test/results/xunit.xml",
"test:coverage": "npx nyc --reporter=lcov --reporter=text-summary tapes -- 'test/unit/**/**.test.js'",
"test:coverage:text": "npx nyc --reporter=text 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:integration": "./test/scripts/test-integration.sh",
"test:xint": "npm run test:int | tee /dev/tty | tap-xunit > ./test/results/xunit-integration.xml",
"test:functional": "./test/scripts/test-functional.sh",
"docker:build": "docker build --build-arg NODE_VERSION=\"$(cat .nvmrc)-alpine\" -t mojaloop/ml-api-adapter:local .",
"docker:up": "docker-compose -f docker-compose.yml up",
"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",
"generate-docs": "npx jsdoc -c jsdoc.json",
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"license:list": "license-checker . --excludePackages `cat .licenseignore | grep '^[^#;]' | awk 'BEGIN { ORS=\"\" } { print p$0\";\"; } END { print \n }'` --production --csv",
"license:check": "npm run license:list -- --failOn `cat .licensebanned | grep '^[^#;]' | awk 'BEGIN { ORS=\"\" } { print p$0\";\"; } END { print \n }'`",
"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/good": "9.0.1",
"@hapi/hapi": "21.3.12",
"@hapi/inert": "7.1.0",
"@hapi/joi": "17.1.1",
"@hapi/joi-date": "2.0.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.0",
"@mojaloop/central-services-shared": "18.12.1",
"@mojaloop/central-services-stream": "11.3.1",
"@mojaloop/event-sdk": "14.1.1",
"@mojaloop/sdk-standard-components": "19.6.2",
"@now-ims/hapi-now-auth": "2.1.0",
"axios": "1.7.9",
"blipp": "4.0.2",
"commander": "12.1.0",
"docdash": "2.0.2",
"fast-safe-stringify": "2.1.1",
"glob": "10.4.3",
"hapi-auth-bearer-token": "8.0.0",
"hapi-swagger": "17.3.1",
"mustache": "4.2.0",
"parse-strings-in-object": "2.0.0",
"rc": "1.2.8"
},
"overrides": {
"shins": {
"sanitize-html": "2.12.1",
"jsonpointer": "5.0.0",
"markdown-it": "12.3.2",
"yargs-parser": "13.1.2",
"postcss": "8.4.31",
"ajv": "6.12.3",
"ejs": "3.1.10"
},
"widdershins": {
"swagger2openapi": "7.0.8",
"yargs-parser": "13.1.2",
"markdown-it": "12.3.2"
},
"jsonwebtoken": "9.0.0",
"jsonpointer": "5.0.0"
},
"devDependencies": {
"@mojaloop/database-lib": "11.0.6",
"@mojaloop/inter-scheme-proxy-cache-lib": "2.3.0",
"@types/hapi__joi": "^17.1.15",
"audit-ci": "^7.1.0",
"get-port": "5.1.1",
"jsdoc": "4.0.4",
"leaked-handles": "^5.2.0",
"license-checker": "25.0.1",
"nodemon": "3.1.7",
"npm-audit-resolver": "3.0.0-RC.0",
"npm-check-updates": "17.1.11",
"nyc": "17.1.0",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"replace": "^1.2.2",
"rewire": "7.0.0",
"sinon": "19.0.2",
"standard": "17.1.2",
"standard-version": "^9.5.0",
"supertest": "7.0.0",
"tap-spec": "^5.0.0",
"tap-xunit": "2.4.1",
"tape": "5.9.0",
"tapes": "4.1.0",
"uuid4": "2.0.3"
},
"standard": {
"ignore": [
"/migrations/**",
"/docs/**"
]
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}