-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
86 lines (86 loc) · 3.23 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
{
"name": "@mojaloop/payment-token-adapter",
"version": "1.6.2",
"description": "An adapter that facilitates payment token mapping between a Mojaloop Connector (SDK Scheme Adapter) and a Core Banking system Connector to support G2P payments",
"main": "dist/index.js",
"scripts": {
"test:functional": "jest --testMatch='**/func/**/*.test.ts' --coverage --collectCoverageFrom='**/src/**/*.ts' --detectOpenHandles",
"test:unit": "jest --testMatch='**/unit/**/*.test.ts'",
"test:unit:cov": "npm run test:unit -- --coverage",
"prepare": "husky || true",
"clean": "npm run clean:npm; npm run clean:dist",
"clean:dist": "rm -rf dist",
"clean:npm": "rm -rf node_modules",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"build": "tsc",
"build:docker": "docker build -t payment-token-adapter:local .",
"start:docker": "npm run build:docker && docker run -p 127.0.0.1:3000:3000/tcp payment-token-adapter:local",
"watch": "tsc -w",
"start": "npm run start:no-build",
"start:no-build": "node dist/src/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",
"start:watch": "nodemon --watch './src/**/*.ts' --exec 'ts-node' src/index.ts",
"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}}'"
},
"repository": {
"type": "git",
"url": "https://github.com/mojaloop/payment-token-adapter.git"
},
"keywords": [
"g2p"
],
"author": "Elijah Okello",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mojaloop/payment-token-adapter/issues"
},
"homepage": "https://github.com/mojaloop/payment-token-adapter#readme",
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@jest/globals": "^29.7.0",
"@mojaloop/api-snippets": "17.4.0",
"@types/hapi": "^18.0.14",
"@types/hapi__vision": "^5.5.8",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"axios-mock-adapter": "^1.22.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"nodemon": "^3.0.3",
"npm-check-updates": "^16.14.17",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"typescript-eslint": "^7.2.0"
},
"dependencies": {
"@hapi/hapi": "^21.3.7",
"@mojaloop/central-services-logger": "^11.3.0",
"axios": "^1.6.8",
"fast-safe-stringify": "^2.1.1",
"openapi-backend": "^5.10.6",
"tslib": "^2.6.2"
},
"lint-staged": {
"./src/*.ts": [
"eslint --fix",
"prettier --write --ignore-unknown"
]
}
}