-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
151 lines (151 loc) · 5.2 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
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "transaction-requests-service",
"description": "An asynchronous pass through transaction request API for Payee initiated use-cases.",
"version": "14.3.7",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"Rajiv Mothilal <[email protected]>",
"Lewis Daly <[email protected]>",
"Sam Kummary <[email protected]>",
"Steven Oderayi <[email protected]>"
],
"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"
]
},
"engines": {
"node": ">=18.x"
},
"pre-commit": [
"dep:check",
"lint",
"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:xunit": "echo 'No xunit tests defined'",
"test:junit": "JEST_JUNIT_OUTPUT_DIR='./test/results' JEST_JUNIT_OUTPUT_NAME='junit.xml' 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'",
"test:functional": "echo 'No functional tests defined'",
"test:integration": "echo 'No integration tests defined'",
"lint": "npm run standard",
"lint:fix": "npm run standard:fix",
"generate-docs": "npx jsdoc -c jsdoc.json",
"standard": "npx standard",
"standard:fix": "npx standard --fix",
"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:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"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",
"release": "standard-version --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
},
"dependencies": {
"@hapi/boom": "10.0.1",
"@hapi/good": "9.0.1",
"@hapi/hapi": "21.3.12",
"@hapi/inert": "7.1.0",
"@hapi/vision": "7.0.3",
"@mojaloop/central-services-error-handling": "13.0.4",
"@mojaloop/central-services-health": "15.0.2",
"@mojaloop/central-services-logger": "11.5.4",
"@mojaloop/central-services-metrics": "12.4.4",
"@mojaloop/central-services-shared": "18.17.0",
"@mojaloop/event-sdk": "14.1.3",
"ajv": "8.17.1",
"ajv-keywords": "5.1.0",
"blipp": "4.0.2",
"commander": "13.1.0",
"docdash": "2.0.2",
"hapi-swagger": "17.3.2",
"joi": "17.13.3",
"mustache": "4.2.0",
"parse-strings-in-object": "2.0.0",
"rc": "1.2.8"
},
"overrides": {
"cross-spawn": "7.0.6",
"jsonpointer": "5.0.0",
"jsonwebtoken": "9.0.0",
"postcss": {
"nanoid": "^3.3.8"
},
"shins": {
"ajv": "6.12.3",
"ejs": "3.1.10",
"path-to-regexp": "0.1.12",
"sanitize-html": "2.12.1",
"yargs-parser": "18.1.1",
"markdown-it": "12.3.2"
},
"undici": "6.21.1",
"widdershins": {
"swagger2openapi": "7.0.8",
"yargs-parser": "13.1.2",
"markdown-it": "12.3.2"
}
},
"devDependencies": {
"@mojaloop/ml-testing-toolkit-shared-lib": "14.0.3",
"@types/jest": "29.5.14",
"audit-ci": "^7.1.0",
"get-port": "5.1.1",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"jsdoc": "4.0.4",
"license-checker": "25.0.1",
"npm-audit-resolver": "3.0.0-RC.0",
"npm-check-updates": "17.1.14",
"pre-commit": "1.2.2",
"replace": "^1.2.2",
"sinon": "19.0.2",
"standard": "17.1.2",
"standard-version": "^9.5.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/**"
]
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}