-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.34 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
{
"name": "@mojaloop/callback-handler-simulator-svc",
"version": "0.1.1",
"description": "High performance callback handler simulator service for Mojaloop",
"license": "Apache-2.0",
"author": "Kevin Leyow",
"contributors": [
"Kevin Leyow <kevin.leyow@infitx.com>"
],
"repository": "https://github.com/mojaloop/callback-handler-simulator-svc",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=18.x"
},
"scripts": {
"start:ts": "ts-node -r tsconfig-paths/register -P ./tsconfig.json src/index.ts",
"start": "node ./dist/index.js",
"dev": "nodemon --watch './src/**/*.ts' --exec 'ts-node' src/index.ts",
"build": "tsc -p ./tsconfig.json",
"lint": "eslint ./src/**/*.ts *.js",
"lint:fix": "eslint --fix ./src/**/*.ts *.js",
"clean": "rm -rf dist",
"test": "npm run test:unit",
"test:coverage": "jest --coverage --coverageThreshold='{}' --testMatch '**/test/unit/**/*.(test|spec).ts'",
"test:coverage-check": "npm run build && jest -w 1 --coverage --testMatch '**/test/unit/**/*.(test|spec).ts'",
"test:junit": "jest --reporters=default --reporters=jest-junit",
"test:unit": "jest -w 1 --testMatch '**/test/unit/**/*.(test|spec).ts'",
"test:xunit": "npm run build && npm run test:unit",
"test:functional": "true",
"test:integration": "true",
"docker:build": "docker build --build-arg NODE_VERSION=\"$(cat .nvmrc)-alpine\" -t mojaloop/callback-handler-simulator-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",
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u",
"release": "npx standard-version --no-verify --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "npx standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
},
"dependencies": {
"@callback-handler-simulator-svc/utils": "file:./dist/local-packages/utils",
"@mojaloop/central-services-logger": "11.5.1",
"@mojaloop/central-services-metrics": "12.4.1",
"@mojaloop/ml-schema-transformer-lib": "2.4.1",
"axios": "1.7.9",
"convict": "^6.2.4",
"env-var": "^7.5.0",
"express": "^4.21.2",
"express-list-endpoints": "^7.1.1",
"http-proxy-middleware": "^3.0.3",
"parse-strings-in-object": "^1.6.0",
"prom-client": "^15.1.3",
"require-glob": "^4.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"uuid": "^11.0.3",
"ws": "^8.18.0"
},
"devDependencies": {
"@types/convict": "^6.1.6",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.1",
"@types/rc": "^1.2.4",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.13",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"audit-ci": "^7.1.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-cucumber": "^2.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^6.2.0",
"eslint-plugin-standard": "^5.0.0",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-mock-process": "^2.0.0",
"npm-check-updates": "^17.1.11",
"prettier": "^3.4.2",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0"
},
"overrides": {
"@mojaloop/ml-schema-transformer-lib": {
"@mojaloop/central-services-shared": {
"shins": {
"ajv": "6.12.3",
"ejs": "3.1.10",
"sanitize-html": "2.12.1",
"yargs-parser": "18.1.1",
"markdown-it": "12.3.2"
},
"widdershins": {
"swagger2openapi": "7.0.8",
"yargs-parser": "13.1.2",
"markdown-it": "12.3.2"
}
}
}
}
}