/
package.json
124 lines (124 loc) · 4.59 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
{
"name": "@mojaloop/sdk-scheme-adapter-api-svc",
"version": "20.7.1-snapshot.1",
"description": "An adapter for connecting to Mojaloop API enabled switches.",
"main": "src/index.js",
"types": "src/index.d.ts",
"engines": {
"node": "=16.x"
},
"_moduleAliases": {
"~": "src"
},
"config": {
"test": "test",
"image": {
"name": "mojaloop/sdk-scheme-adapter"
}
},
"scripts": {
"start": "node src/index.js",
"start:debug": "node --inspect=0.0.0.0:9229 src/index.js",
"build": "yarn run build:openapi",
"build:openapi": "yarn run build:openapi:inbound",
"build:openapi:inbound": "openapi bundle --output ./src/InboundServer/api.yaml --ext yaml ./src/InboundServer/api_template.yaml",
"clean:dist": "rm -Rf dist",
"lint": "eslint ./src/",
"lint:fix": "eslint ./src/ --fix",
"test": "yarn run test:unit",
"test:unit": "jest --runInBand --ci --reporters=default --reporters=jest-junit --env=node test/unit/",
"test:integration": "jest --ci --reporters=default --reporters=jest-junit --env=node test/integration/",
"test:integration-pm4ml": "jest --ci --reporters=default --reporters=jest-junit --env=node test/integration-pm4ml/",
"test:pm4ml-run-mock-servers": "node test/integration-pm4ml/mockServers/index.js",
"validate:api": "yarn run validate:api:in",
"validate:api:in": "swagger-cli validate ./src/InboundServer/api.yaml",
"updates:check": "yarn run dep:check",
"updates:update": "yarn run dep:update && yarn install",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u",
"release": "standard-version --skip.changelog --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
},
"author": "Matt Kingston, James Bush, ModusBox Inc.",
"contributors": [
"Kamuela Franco <kamuela.franco@modusbox.com>",
"Steven Oderayi <steven.oderayi@modusbox.com>",
"Valentin Genev <valentin.genev@modusbox.com>",
"Shashikant Hirugade <shashikant.hirugade@modusbox.com>",
"Paweł Marzec <pawel.marzec@modusbox.com>",
"Kevin Leyow <kevin.leyow@modusbox.com",
"Miguel de Barros <miguel.debarros@modusbox.com>",
"Yevhen Kyriukha <yevhen.kyriukha@modusbox.com>"
],
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"repository": {
"type": "git",
"url": "git@github.com:mojaloop/sdk-scheme-adapter.git"
},
"dependencies": {
"@koa/cors": "^4.0.0",
"@mojaloop/api-snippets": "17.2.5",
"@mojaloop/central-services-error-handling": "^12.0.7",
"@mojaloop/central-services-logger": "^11.2.2",
"@mojaloop/central-services-metrics": "^12.0.8",
"@mojaloop/central-services-shared": "18.1.2",
"@mojaloop/event-sdk": "^13.0.0",
"@mojaloop/sdk-scheme-adapter-private-shared-lib": "workspace:^",
"@mojaloop/sdk-standard-components": "github:mojaloop/sdk-standard-components#feat/IPROD-93",
"ajv": "8.12.0",
"axios": "^1.5.1",
"co-body": "^6.1.0",
"dotenv": "^16.3.1",
"env-var": "^7.4.1",
"express": "^4.18.2",
"fast-json-patch": "^3.1.1",
"javascript-state-machine": "^3.1.0",
"js-yaml": "^4.1.0",
"json-schema-ref-parser": "^9.0.9",
"koa": "^2.14.2",
"koa-body": "^6.0.1",
"lodash": "^4.17.21",
"module-alias": "^2.2.3",
"oauth2-server": "^4.0.0-dev.2",
"openapi-jsonschema-parameters": "^12.1.3",
"prom-client": "^15.0.0",
"promise-timeout": "^1.3.0",
"random-word-slugs": "^0.1.7",
"redis": "^4.6.10",
"uuidv4": "^6.2.13",
"ws": "^8.14.2"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@redocly/openapi-cli": "^1.0.0-beta.94",
"@types/jest": "^29.5.6",
"babel-jest": "^29.7.0",
"eslint": "^8.52.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.3",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"nock": "^13.3.6",
"npm-check-updates": "^16.7.10",
"openapi-response-validator": "^12.1.3",
"openapi-typescript": "^6.7.0",
"redis-mock": "^0.56.3",
"replace": "^1.2.2",
"standard-version": "^9.5.0",
"supertest": "^6.3.3",
"swagger-cli": "^4.0.4"
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}