/
package.json
71 lines (71 loc) · 2.42 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
{
"name": "@mojaloop/sdk-standard-components",
"version": "18.1.0",
"description": "A set of standard components for connecting to Mojaloop API enabled Switches",
"main": "src/index.js",
"types": "src/index.d.ts",
"pre-commit": [
"lint",
"dep:check",
"test"
],
"scripts": {
"build": "tsc -p ./tsconfig.json",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "npm run test:unit",
"test:unit": "jest --ci --collectCoverage=false --reporters=default --env=node --runInBand test/unit",
"test:xunit": "JEST_JUNIT_OUTPUT_FILE=./test/results/junit.xml npm run test:unit -- --reporters=jest-junit",
"test:coverage": "jest --coverage --coverageThreshold='{}'",
"test:coverage-check": "jest --coverage",
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"dep:check": "ncu -e 2",
"dep:update": "ncu -u",
"release": "standard-version --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
},
"author": "James Bush, ModusBox Inc.",
"contributors": [
"Steven Oderayi <steven.oderayi@modusbox.com>",
"Paweł Marzec <pawel.marzec@modusbox.com>",
"Valentin Genev <valentin.genev@modusbox.com>",
"Kevin Leyow <kevin.leyow@modusbox.com>"
],
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"dependencies": {
"base64url": "3.0.1",
"fast-safe-stringify": "^2.1.1",
"ilp-packet": "2.2.0",
"jsonwebtoken": "9.0.2",
"jws": "4.0.0"
},
"devDependencies": {
"@mojaloop/api-snippets": "^17.4.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.29",
"audit-ci": "^6.6.1",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.29.1",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"nock": "^13.5.4",
"npm-check-updates": "^16.14.17",
"pre-commit": "^1.2.2",
"replace": "^1.2.2",
"standard-version": "^9.5.0",
"typescript": "^5.4.2"
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}