forked from mojaloop/quoting-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.9 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
{
"name": "quoting-service",
"description": "Quoting Service hosted by a scheme",
"license": "Apache-2.0",
"version": "15.0.2",
"author": "ModusBox",
"contributors": [
"Georgi Georgiev <georgi.georgiev@modusbox.com>",
"Henk Kodde <henk.kodde@modusbox.com>",
"James Bush <james.bush@modusbox.com>",
"Miguel de Barros <miguel.debarros@modusbox.com>",
"Rajiv Mothilal <rajiv.mothilal@modusbox.com>",
"Sam Kummary <sam@modusbox.com>",
"Shashikant Hirugade <shashikant.hirugade@modusbox.com>",
"Steven Oderayi <steven.oderayi@modusbox.com>",
"Vassilis Barzokas <vassilis.barzokas@modusbox.com>",
"Juan Correa <juan.correa@modusbox.com>"
],
"repository": {
"type": "git",
"url": "git://github.com/mojaloop/quoting-service.git"
},
"bugs": "http://github.com/mojaloop/quoting-service/issues",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"jest-junit": {
"outputDirectory": "./test/results",
"outputName": "junit.xml"
},
"standard": {
"env": [
"jest"
]
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
},
"engines": {
"node": "=16.x"
},
"pre-commit": [
"lint",
"dep:check",
"test:unit"
],
"scripts": {
"start": "npm run start:api",
"start:api": "node src/index.js",
"watch:api": "npx nodemon src/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",
"lint": "npx standard",
"lint:fix": "npx standard --fix",
"test": "npm run test:unit",
"test:unit": "jest --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:junit": "jest --reporters=default --reporters=jest-junit --testMatch '**/test/unit/**/*.test.js'",
"regenerate": "yo swaggerize:test --framework hapi --apiPath './src/interface/swagger.json'",
"package-lock": "docker run --rm -it quoting-service:local cat package-lock.json > package-lock.json",
"run": "docker run -p 3002:3002 --rm --link db:mysql quoting-service:local",
"docker:build": "docker build -t quoting-service:local -f ./Dockerfile ../",
"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",
"docker:rm": "docker-compose -f docker-compose.yml -f docker-compose.base.yml rm -f -v",
"docker:down": "docker-compose -f docker-compose.yml -f docker-compose.base.yml down -v",
"docker:clean": "docker-compose -f docker-compose.yml -f docker-compose.base.yml down --rmi local",
"generate-docs": "npx jsdoc -c jsdoc.json",
"audit:resolve": "npx resolve-audit --production",
"audit:check": "npx check-audit --production",
"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}}'",
"wait-4-docker": "node ./scripts/_wait4_all.js"
},
"dependencies": {
"@hapi/good": "9.0.1",
"@hapi/hapi": "20.2.2",
"@hapi/inert": "6.0.5",
"@hapi/vision": "6.1.0",
"@mojaloop/central-services-error-handling": "12.0.3",
"@mojaloop/central-services-health": "14.0.1",
"@mojaloop/central-services-logger": "11.0.1",
"@mojaloop/central-services-metrics": "12.0.5",
"@mojaloop/central-services-shared": "17.0.2",
"@mojaloop/event-sdk": "11.0.2",
"@mojaloop/ml-number": "11.2.1",
"@mojaloop/sdk-standard-components": "17.0.3",
"ajv": "8.11.0",
"ajv-keywords": "5.1.0",
"axios": "0.27.2",
"blipp": "4.0.2",
"event-stream": "4.0.1",
"good-console": "8.0.0",
"good-squeeze": "5.1.0",
"joi": "17.6.0",
"json-rules-engine": "5.0.2",
"knex": "2.1.0",
"memory-cache": "0.2.0",
"minimist": "1.2.6",
"mysql": "2.18.1",
"node-fetch": "3.2.6",
"parse-strings-in-object": "2.0.0",
"rc": "1.2.8"
},
"devDependencies": {
"eslint": "8.16.0",
"eslint-config-standard": "17.0.0",
"jest": "28.1.1",
"jest-junit": "13.2.0",
"npm-audit-resolver": "3.0.0-7",
"npm-check-updates": "13.1.5",
"nyc": "15.1.0",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"replace": "^1.2.1",
"sinon": "14.0.0",
"standard": "17.0.0",
"standard-version": "9.5.0",
"swagmock": "1.0.0"
},
"generator-swaggerize": {
"version": "4.11.0"
},
"main": "src/server.js"
}