forked from mojaloop/central-ledger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 4.89 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
{
"name": "@mojaloop/central-ledger",
"version": "7.4.4",
"description": "Central ledger hosted by a scheme to record and settle transfers",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"Henk Kodde <[email protected]>",
"Georgi Georgiev <[email protected]>",
"Rajiv Mothilal <[email protected]>",
"Miguel de Barros <[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",
"audit:check": "SHELL=sh check-audit",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u"
},
"dependencies": {
"@mojaloop/central-object-store": "7.1.0",
"@mojaloop/central-services-auth": "5.2.1",
"@mojaloop/central-services-database": "7.4.0",
"@mojaloop/central-services-error-handling": "7.4.5",
"@mojaloop/central-services-health": "7.0.0",
"@mojaloop/central-services-metrics": "5.2.0",
"@mojaloop/central-services-shared": "7.4.8",
"@mojaloop/central-services-stream": "6.2.2",
"@mojaloop/forensic-logging-client": "5.2.0",
"@now-ims/hapi-now-auth": "2.0.0",
"awaitify-stream": "1.0.2",
"base64url": "3.0.1",
"blipp": "4.0.0",
"catbox-memory": "4.0.1",
"commander": "3.0.1",
"cron": "1.7.1",
"decimal.js": "10.2.0",
"docdash": "1.1.1",
"five-bells-condition": "5.0.1",
"glob": "7.1.4",
"@hapi/good": "8.2.1",
"good-winston": "4.0.0",
"@hapi/hapi": "18.3.2",
"hapi-auth-basic": "5.0.0",
"hapi-auth-bearer-token": "6.2.1",
"hapi-swagger": "10.1.1",
"@hapi/inert": "5.2.1",
"@hapi/joi": "15.1.1",
"jsdoc": "3.6.3",
"knex": "0.19.3",
"lodash": "4.17.15",
"moment": "2.24.0",
"mustache": "3.0.3",
"npm-run-all": "4.1.5",
"rc": "1.2.8",
"require-glob": "3.2.0",
"urlsafe-base64": "1.0.0",
"uuid4": "1.1.4",
"@hapi/vision": "5.5.3",
"ws": "7.1.2"
},
"optionalDependencies": {
"mysql": "2.17.1"
},
"devDependencies": {
"async-retry": "1.2.3",
"faucet": "0.0.1",
"jsonpath": "1.0.2",
"nodemon": "1.19.2",
"npm-audit-resolver": "1.5.0",
"nyc": "14.1.1",
"npm-check-updates": "3.1.21",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"sinon": "7.4.2",
"standard": "14.1.0",
"tap-xunit": "2.4.1",
"tape": "4.11.0",
"tapes": "4.1.0"
}
}