forked from mojaloop/central-ledger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 5.06 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 5.06 KB
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
{
"name": "@mojaloop/central-ledger",
"version": "9.2.2",
"description": "Central ledger hosted by a scheme to record and settle transfers",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"Georgi Georgiev <georgi.georgiev@modusbox.com>",
"Henk Kodde <henkkodde@modusbox.com>",
"Lewis Daly <lewisd@crosslaketech.com>",
"Miguel de Barros <miguel.debarros@modusbox.com>",
"Rajiv Mothilal <rajiv.mothilal@modusbox.com>",
"Steven Oderayi <steven.oderayi@modusbox.com>",
"Lazola Lucas <lazola.lucas@modusbox.com>"
],
"repository": {
"type": "git",
"url": "git@github.com: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": {
"@hapi/good": "9.0.0",
"@hapi/hapi": "19.1.1",
"@hapi/inert": "6.0.1",
"@hapi/joi": "17.1.0",
"@hapi/vision": "6.0.0",
"@mojaloop/central-object-store": "9.1.0-snapshot",
"@mojaloop/central-services-database": "9.2.0",
"@mojaloop/central-services-error-handling": "9.1.0",
"@mojaloop/central-services-health": "9.2.0",
"@mojaloop/central-services-logger": "9.1.0",
"@mojaloop/central-services-metrics": "9.1.0",
"@mojaloop/central-services-shared": "9.2.0",
"@mojaloop/central-services-stream": "9.2.0",
"@mojaloop/event-sdk": "9.2.0",
"@mojaloop/forensic-logging-client": "8.3.0",
"@mojaloop/ml-number": "8.2.0",
"@now-ims/hapi-now-auth": "2.0.1",
"awaitify-stream": "1.0.2",
"base64url": "3.0.1",
"blipp": "4.0.1",
"catbox-memory": "4.0.1",
"commander": "4.1.1",
"cron": "1.8.2",
"decimal.js": "10.2.0",
"docdash": "1.2.0",
"five-bells-condition": "5.0.1",
"glob": "7.1.6",
"hapi-auth-basic": "5.0.0",
"hapi-auth-bearer-token": "6.2.1",
"hapi-swagger": "12.1.1",
"knex": "0.20.10",
"lodash": "4.17.15",
"moment": "2.24.0",
"mongoose": "5.9.2",
"npm-run-all": "4.1.5",
"rc": "1.2.8",
"require-glob": "3.2.0",
"uuid4": "1.1.4"
},
"optionalDependencies": {
"mysql": "2.18.1"
},
"devDependencies": {
"async-retry": "1.3.1",
"faucet": "0.0.1",
"get-port": "5.1.1",
"jsdoc": "3.6.3",
"jsonpath": "1.0.2",
"nodemon": "2.0.2",
"npm-audit-resolver": "2.2.0",
"npm-check-updates": "4.0.2",
"nyc": "15.0.0",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"sinon": "9.0.0",
"standard": "14.3.1",
"tap-xunit": "2.4.1",
"tape": "4.13.0",
"tapes": "4.1.0"
}
}