-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
161 lines (161 loc) · 5.92 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
152
153
154
155
156
157
158
159
160
161
{
"name": "@mojaloop/thirdparty-api-svc",
"version": "15.0.0",
"description": "The thirdparty-api-svc service is used to handle HTTP requests from third parties.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=18.x"
},
"scripts": {
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"build": "tsc -p ./tsconfig.build.json && cp ./src/interface/api.yaml ./dist/src/interface/api.yaml",
"build:openapi": "openapi bundle --output ./src/interface/api.yaml --ext yaml ./src/interface/api-template.yaml",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u",
"dev": "ts-node-dev --no-notify -r tsconfig-paths/register -P ./tsconfig.json ./src/cli.ts all",
"docker:build": "docker build --build-arg NODE_VERSION=\"$(cat .nvmrc)-alpine\" -t mojaloop/thirdparty-api-svc:local -f ./Dockerfile ./",
"docker:run": "docker run -p 3008:3008 thirdparty-api-svc:local",
"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",
"lint": "eslint --ext ts --ext js test src",
"lint:fix": "eslint --fix --ext ts --ext js test src",
"prepare": "husky install",
"pretest": "echo \"pretest - TODO...\"",
"release": "standard-version --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'",
"standard": "echo '\\033[1;33m This project uses eslint instead of standard. Use `npm run lint` instead.'",
"start:ts": "ts-node -r tsconfig-paths/register -P ./tsconfig.json ./src/cli.ts all",
"start": "node ./dist/src/cli.js all",
"test": "npm run test:unit",
"test:bdd": "jest --config './jest.bdd.config.js' --runInBand --testMatch '**/test/step-definitions/**/*.step.ts'",
"test:coverage": "jest --coverage --coverageThreshold='{}' --testMatch '**/test/unit/**/*.(test|spec).ts'",
"test:coverage-check": "jest -w 1 --coverage --testMatch '**/test/unit/**/*.(test|spec).ts'",
"test:integration": "echo \"test:integration - TODO...\"",
"test:integration-tmp": "jest --collectCoverage=false --testMatch '**/test/integration/**/*.test.ts'",
"test:junit": "jest --reporters=default --reporters=jest-junit",
"test:unit": "jest -w 1 --testMatch '**/test/unit/**/*.(test|spec).ts'",
"validate:api": "swagger-cli validate ./src/interface/api.yaml",
"watch": "tsc -w",
"wait-4-docker": "node ./scripts/_wait4_all.js"
},
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix"
},
"_moduleAliases": {
"~": "dist/src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mojaloop/thirdparty-api-svc.git"
},
"keywords": [
"metrics",
"central",
"services",
"pisp"
],
"author": "lewisdaly",
"contributors": [
"Lewis Daly <[email protected]>",
"Paweł Marzec <[email protected]>",
"Sridhar Voruganti <[email protected]>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mojaloop/thirdparty-api-svc/issues"
},
"homepage": "https://github.com/mojaloop/thirdparty-api-svc#readme",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@redocly/cli": "^1.16.0",
"@types/jest": "^29.5.12",
"@types/mustache": "^4.2.5",
"@types/node": "^20.14.9",
"@types/rc": "^1.2.4",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"add": "^2.0.6",
"audit-ci": "^7.0.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cucumber": "^2.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.2.0",
"eslint-plugin-standard": "^4.1.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-cucumber": "^4.4.0",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.7",
"npm-check-updates": "16.14.20",
"prettier": "^3.3.2",
"prom-client": "15.1.3",
"source-map-support": "^0.5.21",
"standard-version": "^9.5.0",
"swagger-cli": "^4.0.4",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0"
},
"dependencies": {
"@hapi/boom": "^10.0.1",
"@hapi/good": "^9.0.1",
"@hapi/hapi": "^21.3.10",
"@hapi/inert": "^7.1.0",
"@hapi/vision": "^7.0.3",
"@mojaloop/api-snippets": "^17.5.1",
"@mojaloop/central-services-shared": "^18.6.0-snapshot.0",
"@mojaloop/central-services-stream": "11.3.1",
"blipp": "^4.0.2",
"canonical-json": "0.0.4",
"commander": "12.1.0",
"hapi-openapi": "^3.0.0",
"hapi-swagger": "^17.2.1",
"module-alias": "^2.2.3",
"mustache": "^4.2.0",
"parse-strings-in-object": "^2.0.0",
"rc": "^1.2.8",
"typescript": "^5.5.2"
},
"peerDependencies": {
"@mojaloop/central-services-error-handling": ">=12.x.x",
"@mojaloop/central-services-logger": ">=11.x.x",
"@mojaloop/central-services-metrics": ">=12.x.x",
"@mojaloop/event-sdk": ">=14.x.x",
"ajv": "8.x.x",
"ajv-keywords": "5.x.x"
},
"peerDependenciesMeta": {
"@mojaloop/central-services-error-handling": {
"optional": false
},
"@mojaloop/central-services-logger": {
"optional": false
},
"@mojaloop/central-services-metrics": {
"optional": false
},
"@mojaloop/event-sdk": {
"optional": false
},
"ajv": {
"optional": false
},
"ajv-keyboards": {
"optional": false
}
}
}