forked from mojaloop/ml-api-adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 5.1 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/ml-api-adapter",
"version": "8.7.0",
"description": "Convert from ML API to/from internal Central Services messaging format",
"license": "Apache-2.0",
"private": true,
"author": "ModusBox",
"contributors": [
"Georgi Georgiev <georgi.georgiev@modusbox.com>",
"Miguel de Barros <miguel.debarros@modusbox.com>",
"Murthy Kakarlamudi <murthy@modusbox.com>",
"Rajiv Mothilal <rajiv.mothilal@modusbox.com>",
"Steven Oderayi <steven.oderayi@modusbox.com>"
],
"repository": {
"type": "git",
"url": "git@github.com:mojaloop/ml-api-adapter.git"
},
"standard": {
"ignore": [
"/migrations/**",
"/docs/**"
]
},
"pre-commit": [
"standard",
"dep:check",
"test"
],
"scripts": {
"start": "run-p start:api",
"start:api": "node src/api/index.js",
"watch:api": "nodemon src/api/index.js",
"dev": "npm run docker:stop && docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d",
"test": "npm run test:unit | faucet",
"pretest": "standard",
"standard": "standard",
"test:unit": "tape 'test/unit/**/*.test.js'",
"test:int1": "ENDPOINT_HOST=http://localhost:4545 node test/integration/server/index.js",
"test:int2": "MLAPI_ENDPOINT_SOURCE_URL=http://localhost:4545/participants/{{fsp}}/endpoints node src/api/index.js",
"test:int": "tape 'test/integration/**/*.test.js'",
"test:all": "run-s test test:integration test:functional test: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:integration": "sh ./test/integration-runner.sh ./test/integration-runner.env",
"test:integration:server": "node test/integration/server/index.js",
"test:functional": "sh ./test/functional-runner.sh ./test/functional-runner.env",
"test:spec:test-only": "sh ./test/spec-runner.sh ./test/.env",
"test:spec": "run-s docker:build test:spec:test-only",
"docker:build": "run-s docker:build:test docker:build:api",
"docker:build:test": "docker build -f test.Dockerfile -t $npm_package_config_images_api:test .",
"docker:build:test1": "docker build --no-cache -f test.Dockerfile -t $npm_package_config_images_api:test .",
"docker:build:api": "docker build -f api.Dockerfile -t $npm_package_config_images_api:latest .",
"docker:build:api1": "docker build --no-cache -f api.Dockerfile -t $npm_package_config_images_api:latest .",
"docker:build:admin_DONOTRUN": "docker build --no-cache -f admin.Dockerfile -t $npm_package_config_images_admin:latest .",
"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": "node_modules/.bin/jsdoc -c jsdoc.json",
"audit:resolve": "SHELL=sh resolve-audit",
"audit:check": "SHELL=sh check-audit",
"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"
},
"dependencies": {
"@hapi/basic": "5.1.1",
"@hapi/boom": "7.4.10",
"@hapi/good": "8.2.4",
"@hapi/hapi": "18.4.0",
"@hapi/inert": "5.2.2",
"@hapi/joi": "15.1.1",
"@hapi/joi-date": "1.3.0",
"@hapi/vision": "5.5.4",
"@mojaloop/central-services-auth": "5.2.1",
"@mojaloop/central-services-error-handling": "8.6.2",
"@mojaloop/central-services-health": "8.3.0",
"@mojaloop/central-services-logger": "8.6.0",
"@mojaloop/central-services-metrics": "8.3.0",
"@mojaloop/central-services-shared": "8.7.0",
"@mojaloop/central-services-stream": "8.4.0",
"@mojaloop/event-sdk": "8.6.2",
"@mojaloop/forensic-logging-client": "8.3.0",
"@now-ims/hapi-now-auth": "2.0.0",
"axios": "0.19.0",
"blipp": "4.0.1",
"commander": "4.0.1",
"docdash": "1.1.1",
"glob": "7.1.6",
"hapi-auth-bearer-token": "6.2.1",
"hapi-swagger": "11.1.0",
"joi-currency-code": "2.0.2",
"mustache": "3.1.0",
"parse-strings-in-object": "2.0.0",
"rc": "1.2.8"
},
"devDependencies": {
"bluebird": "3.7.2",
"faucet": "0.0.1",
"get-port": "5.0.0",
"jsdoc": "3.6.3",
"jsonpath": "1.0.2",
"license-checker": "25.0.1",
"nodemon": "2.0.1",
"npm-audit-resolver": "2.1.0",
"npm-check-updates": "3.2.2",
"npm-run-all": "4.1.5",
"nyc": "14.1.1",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"rewire": "4.0.1",
"sinon": "7.5.0",
"standard": "14.3.1",
"supertest": "4.0.2",
"tap-xunit": "2.4.1",
"tape": "4.11.0",
"tapes": "4.1.0",
"uuid4": "1.1.4"
}
}