-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 4.14 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
{
"name": "@mojaloop/itk-fineract-core-connector",
"version": "0.1.0",
"description": "Typescript Mojaloop ITK Core Connector for Apache Fineract",
"repository": {
"type": "git",
"url": "git+https://github.com/mojaloop/itk-fineract-core-connector.git"
},
"keywords": [
"mojaloop",
"services",
"itk-fineract-core-connector"
],
"author": "James Bush <[email protected]>",
"contributors": [
"James Bush <[email protected]>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mojaloop/itk-fineract-core-connector/issues"
},
"homepage": "https://github.com/mojaloop/itk-fineract-core-connector#readme",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"build"
],
"engines": {
"node": ">=18.x"
},
"scripts": {
"prepare": "husky || true",
"prepublishOnly": "npm run build",
"lint": "eslint ./src/**/*.ts",
"lint:fix": "npm run lint -- --fix",
"build": "tsc",
"watch": "tsc -w",
"start": "npm run start:no-build",
"start:no-build": "node build/index.js",
"start:build": "npm run build && npm run start:no-build",
"start:dev": "ts-node -r tsconfig-paths/register -P ./tsconfig.json src/index.ts",
"test": "npm run test:unit",
"test:unit": "jest --testMatch='**/unit/**/*.test.ts'",
"test:xunit": "JEST_JUNIT_OUTPUT_DIR=./test/reports/ JEST_JUNIT_OUTPUT_NAME=xunit.xml npm run test:unit -- --reporters=jest-junit",
"test:coverage": "npm run test:unit -- --coverage --coverageThreshold='{}'",
"test:coverage-check": "npm run test:unit -- --coverage",
"test:int": "jest --testMatch='**/test/integration/**/*.test.ts'",
"test:functional": "echo \\\"ACTION: Add functional src/test here, or remove this script. Also check CI configs to comment out the necessary job'\\\"",
"warn-pre-commit": "echo \"pre commit tasks running. build and test\"",
"audit:resolve": "npx resolve-audit --production",
"audit:check": "npx check-audit --production",
"dep:check": "npx --no-install ncu -e 2",
"dep:update": "npx --no-install ncu -u",
"release": "npx standard-version --no-verify --releaseCommitMessageFormat 'ci(release): {{currentTag}} [skip ci]'",
"snapshot": "npx standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'ci(snapshot): {{currentTag}}'"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@types/jest": "29.5.14",
"@types/koa": "2.15.0",
"@types/koa__cors": "5.0.0",
"@types/koa-bodyparser": "4.3.12",
"@types/koa-router": "7.4.8",
"@types/node": "22.10.2",
"@types/uuid": "10.0.0",
"eslint": "^9.17.0",
"eslint-config-love": "^112.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.0",
"eslint-plugin-promise": "^7.2.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.11",
"npm-audit-resolver": "3.0.0-RC.0",
"npm-check-updates": "17.1.11",
"prettier": "3.4.2",
"replace": "^1.2.2",
"standard-version": "^9.5.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.7.2"
},
"dependencies": {
"@koa/cors": "5.0.0",
"@mojaloop/api-snippets": "17.7.8",
"@mojaloop/sdk-standard-components": "^19.6.2",
"axios": "1.7.9",
"dotenv": "16.4.7",
"env-var": "7.5.0",
"koa": "2.15.3",
"koa-bodyparser": "4.4.1",
"koa-oas3": "3.0.1",
"koa-router": "13.0.1",
"tslib": "2.8.1"
},
"overrides": {
"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"
}
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
},
"lint-staged": {
"./src/*.ts": [
"eslint --fix",
"prettier --write --ignore-unknown"
]
}
}