-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
87 lines (87 loc) · 3.35 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
{
"name": "als-oracle-pathfinder",
"description": "An Account Lookup Service Oracle using GSMA PathFinder for resolution of MSISDNs",
"version": "12.1.1",
"author": "Matt Kingston <[email protected]>",
"contributors": [],
"repository": {
"type": "git",
"url": "git://github.com/mojaloop/als-oracle-pathfinder.git"
},
"bugs": "http://github.com/mojaloop/als-oracle-pathfinder/issues",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"engines": {
"node": "=18.x"
},
"ava": {
"timeout": "30s"
},
"main": "./src/index.js",
"dependencies": {
"@hapi/boom": "^10.0.1",
"@hapi/hapi": "21.3.12",
"@lib/pathfinder": "file:src/lib/pathfinder",
"@mojaloop/central-services-logger": "11.5.2",
"@mojaloop/central-services-shared": "^18.15.1",
"dotenv": "^16.4.7",
"hapi-openapi": "^3.0.0",
"knex": "^3.1.0",
"mysql2": "^3.12.0"
},
"devDependencies": {
"audit-ci": "^7.1.0",
"ava": "^6.2.0",
"eslint": "9.17.0",
"npm-audit-resolver": "3.0.0-RC.0",
"npm-check-updates": "17.1.13",
"nyc": "^17.1.0",
"replace": "^1.2.2",
"sinon": "^19.0.2",
"standard": "^17.1.2",
"standard-version": "^9.5.0"
},
"overrides": {
"shins": {
"ajv": "6.12.3",
"ejs": "3.1.10",
"sanitize-html": "2.12.1",
"jsonpointer": "5.0.0",
"markdown-it": "12.3.2",
"postcss": "8.4.31"
},
"widdershins": {
"markdown-it": "12.3.2",
"swagger2openapi": "7.0.8"
},
"yargs-parser": "21.1.1"
},
"scripts": {
"build": "docker build --build-arg NODE_VERSION=\"$(cat .nvmrc)-alpine\" -t mojaloop/als-oracle-pathfinder -f ./Dockerfile .",
"lint": "npx standard",
"lint:fix": "npx standard --fix",
"regenerate": "yo swaggerize:test --framework hapi --apiPath './src/swagger.json'",
"start": "node --unhandled-rejections=strict ./src/index",
"test": "PATHFINDER_REJECT_UNAUTHORIZED=true npm run test:unit",
"test:unit": "npx ava --no-worker-threads --serial ./test/unit/**/*.test.js",
"test:xunit": "npm run test:unit -- --tap | tap-xunit > ./test/results/xunit.xml",
"test:coverage-check": "nyc ava --no-worker-threads --serial ./test/unit/**/*.test.js",
"test:pathfinder": "ava ./src/lib/pathfinder/test/unit/**/*.test.js",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u",
"audit:resolve": "resolve-audit --production",
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"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}}'"
},
"generator-swaggerize": {
"version": "4.1.0"
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}