forked from mojaloop/central-ledger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 4.56 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
{
"name": "@mojaloop/central-ledger",
"version": "6.2.5",
"description": "Central ledger hosted by a scheme to record and settle transfers",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"Henk Kodde <henkkodde@modusbox.com>",
"Georgi Georgiev <georgi.georgiev@modusbox.com>",
"Rajiv Mothilal <rajiv.mothilal@modusbox.com>",
"Miguel de Barros <miguel.debarros@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/**"
]
},
"scripts": {
"start": "run-p start:api",
"start:api": "node 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",
"pretest": "standard",
"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": "istanbul cover tape -- 'test/unit/**/*.test.js'",
"test:coverage-check": "npm run test:coverage && istanbul 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:up": "docker-compose -f docker-compose.yml up",
"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:stop": "docker-compose -f docker-compose.yml stop",
"docker:rm": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.functional.yml rm -f -v",
"docker:clean": "docker-compose -f docker-compose.yml -f docker-compose.dev.yml -f docker-compose.functional.yml down --rmi local",
"generate-docs": "node_modules/.bin/jsdoc -c jsdoc.json"
},
"dependencies": {
"@mojaloop/central-services-auth": "5.2.1",
"@mojaloop/central-services-database": "5.2.1",
"@mojaloop/central-services-error-handling": "7.1.2",
"@mojaloop/central-services-metrics": "5.2.0",
"@mojaloop/central-services-shared": "5.2.0",
"@mojaloop/central-services-stream": "6.2.2",
"@mojaloop/forensic-logging-client": "5.2.0",
"@now-ims/hapi-now-auth": "1.3.1",
"base64url": "3.0.1",
"blipp": "3.1.2",
"bluebird": "3.5.3",
"boom": "7.3.0",
"catbox-memory": "4.0.1",
"commander": "2.19.0",
"cron": "1.6.0",
"decimal.js": "10.0.2",
"docdash": "1.0.3",
"five-bells-condition": "5.0.1",
"glob": "7.1.3",
"good": "8.1.2",
"good-squeeze": "5.1.0",
"good-winston": "4.0.0",
"hapi": "18.1.0",
"hapi-auth-basic": "5.0.0",
"hapi-auth-bearer-token": "6.1.1",
"hapi-swagger": "9.3.1",
"inert": "5.1.2",
"joi": "14.3.1",
"jsdoc": "3.5.5",
"knex": "0.16.3",
"lodash": "4.17.11",
"moment": "2.24.0",
"mustache": "3.0.1",
"npm-run-all": "4.1.5",
"rc": "1.2.8",
"require-glob": "3.2.0",
"urlsafe-base64": "1.0.0",
"uuid4": "1.1.4",
"vision": "5.4.4",
"winston": "3.2.1",
"ws": "6.1.4"
},
"optionalDependencies": {
"mysql": "2.16.0"
},
"devDependencies": {
"async-retry": "1.2.3",
"faucet": "0.0.1",
"istanbul": "1.1.0-alpha.1",
"jsonpath": "1.0.0",
"pre-commit": "1.2.2",
"proxyquire": "2.1.0",
"rewire": "4.0.1",
"sinon": "7.2.4",
"standard": "12.0.1",
"tap-xunit": "2.3.0",
"tape": "4.10.1",
"tapes": "4.1.0"
}
}