forked from mojaloop/central-ledger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
139 lines (139 loc) · 5.26 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
{
"name": "@mojaloop/central-ledger",
"version": "11.2.3",
"description": "Central ledger hosted by a scheme to record and settle transfers",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"Georgi Georgiev <[email protected]>",
"Georgi Logodazhki <[email protected]>",
"Henk Kodde <[email protected]>",
"Lazola Lucas <[email protected]>",
"Lewis Daly <[email protected]>",
"Miguel de Barros <[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/central-ledger.git"
},
"config": {
"knex": "--knexfile ./config/knexfile.js",
"images": {
"api": "central-ledger",
"admin": "central-ledger-admin"
}
},
"standard": {
"ignore": [
"/migrations/**"
]
},
"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",
"start:handlers": "node src/handlers/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",
"standard": "standard",
"test:unit": "tape 'test/unit/**/*.test.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",
"db:psql": "docker run -it --net centralledger_back --rm postgres:9.4 sh -c 'exec psql -h postgres -p \"$POSTGRES_PORT_5432_TCP_PORT\" -U central_ledger -d postgres'",
"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",
"docker:build": "run-s docker:build:test docker:build:api docker:build:admin",
"docker:build:test": "docker build --no-cache -f test.Dockerfile -t $npm_package_config_images_api:test .",
"docker:build:api": "docker build --no-cache -f api.Dockerfile -t $npm_package_config_images_api:latest .",
"docker:build:admin": "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 --production",
"audit:check": "SHELL=sh check-audit --production",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u"
},
"dependencies": {
"@hapi/good": "9.0.1",
"@hapi/hapi": "20.0.1",
"@hapi/inert": "6.0.3",
"@hapi/vision": "6.0.1",
"@mojaloop/central-object-store": "11.0.1-snapshot",
"@mojaloop/central-services-database": "10.6.0",
"@mojaloop/central-services-error-handling": "10.6.0",
"@mojaloop/central-services-health": "10.6.0",
"@mojaloop/central-services-logger": "10.6.0",
"@mojaloop/central-services-metrics": "9.5.0",
"@mojaloop/central-services-shared": "11.3.6",
"@mojaloop/central-services-stream": "10.6.0",
"@mojaloop/event-sdk": "10.6.0",
"@mojaloop/forensic-logging-client": "8.3.0",
"@mojaloop/ml-number": "8.2.0",
"@now-ims/hapi-now-auth": "2.0.2",
"awaitify-stream": "1.0.2",
"base64url": "3.0.1",
"blipp": "4.0.1",
"catbox-memory": "4.0.1",
"commander": "6.1.0",
"cron": "1.8.2",
"decimal.js": "10.2.1",
"docdash": "1.2.0",
"five-bells-condition": "5.0.1",
"glob": "7.1.6",
"hapi-auth-basic": "5.0.0",
"hapi-auth-bearer-token": "8.0.0",
"hapi-swagger": "13.1.0",
"ilp-packet": "2.2.0",
"joi": "17.2.1",
"knex": "0.21.6",
"lodash": "4.17.20",
"moment": "2.29.0",
"mongoose": "5.10.7",
"npm-run-all": "4.1.5",
"rc": "1.2.8",
"require-glob": "3.2.0",
"uuid4": "2.0.2"
},
"optionalDependencies": {
"mysql": "2.18.1"
},
"devDependencies": {
"async-retry": "1.3.1",
"faucet": "0.0.1",
"get-port": "5.1.1",
"jsdoc": "3.6.6",
"jsonpath": "1.0.2",
"nodemon": "2.0.4",
"npm-audit-resolver": "2.2.1",
"npm-check-updates": "9.0.3",
"nyc": "15.1.0",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"sinon": "9.1.0",
"standard": "14.3.4",
"tap-xunit": "2.4.1",
"tape": "4.13.2",
"tapes": "4.1.0"
}
}