forked from mojaloop/transaction-requests-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
116 lines (116 loc) · 3.95 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
{
"name": "transaction-requests-service",
"description": "An asynchronous pass through transaction request API for merchant payment initiated requests.",
"version": "10.2.0",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"Rajiv Mothilal <rajiv.mothilal@modusbox.com>",
"Lewis Daly <lewisd@crosslaketech.com>",
"Steven Oderayi <steven.oderayi@modusbox.com>"
],
"repository": {
"type": "git",
"url": "git://github.com/mojaloop/transaction-requests-service.git"
},
"bugs": "http://github.com/mojaloop/transaction-requests-service/issues",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"standard": {
"env": [
"jest"
]
},
"pre-commit": [
"dep:check",
"standard",
"test:coverage-check"
],
"main": "./server",
"scripts": {
"start": "node src/index.js api",
"test": "npm run test:unit",
"test:unit": "jest --testMatch '**/test/unit/**/*.test.js'",
"test:junit": "jest --reporters=default --reporters=jest-junit --testMatch '**/test/unit/**/*.test.js'",
"test:coverage": "jest --coverage --coverageThreshold='{}' --testMatch '**/test/unit/**/*.test.js'",
"test:coverage-check": "jest --coverage --testMatch '**/test/unit/**/*.test.js'",
"lint": "eslint .",
"regenerate": "yo swaggerize:test --framework hapi --apiPath './config/swagger.json'",
"generate-docs": "jsdoc -c jsdoc.json",
"standard": "standard",
"build": "docker build -t transaction-requests-service:local -f ./Dockerfile ../",
"run": "docker run -p 3003:3003 --rm --link db:mysql transaction-requests-service:local",
"package-lock": "docker run --rm -it transaction-requests-service:local cat package-lock.json > package-lock.json",
"docker:up": "docker-compose -f docker-compose.yml -f docker-compose.base.yml up",
"docker:stop": "docker-compose -f docker-compose.yml -f docker-compose.base.yml stop",
"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/boom": "9.1.0",
"@hapi/good": "9.0.0",
"@hapi/hapi": "18.4.1",
"@hapi/inert": "5.2.2",
"@hapi/vision": "5.5.4",
"@mojaloop/central-services-error-handling": "10.2.0",
"@mojaloop/central-services-health": "10.1.0",
"@mojaloop/central-services-logger": "9.5.1",
"@mojaloop/central-services-metrics": "9.5.0",
"@mojaloop/central-services-shared": "10.1.2",
"@mojaloop/event-sdk": "9.5.2",
"blipp": "4.0.1",
"commander": "5.1.0",
"docdash": "1.2.0",
"hapi-openapi": "1.2.6",
"hapi-swagger": "11.1.0",
"jsdoc": "3.6.4",
"mustache": "4.0.1",
"parse-strings-in-object": "2.0.0",
"rc": "1.2.8"
},
"devDependencies": {
"eslint": "7.0.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"jest": "26.0.1",
"jest-junit": "10.0.0",
"license-checker": "25.0.1",
"npm-audit-resolver": "2.2.0",
"npm-check-updates": "6.0.0",
"pre-commit": "1.2.2",
"sinon": "9.0.2",
"standard": "14.3.4",
"swagmock": "1.0.0"
},
"generator-swaggerize": {
"version": "4.1.0"
},
"nyc": {
"temp-directory": "./.nyc_output",
"check-coverage": true,
"per-file": true,
"lines": 90,
"statements": 90,
"functions": 90,
"branches": 90,
"all": true,
"include": [
"src/**/*.js"
],
"reporter": [
"lcov",
"text-summary"
],
"exclude": [
"**/node_modules/**"
]
}
}