-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.38 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
{
"name": "payment-srv",
"version": "1.2.2",
"description": "Restore Commerce Payment Gateway (RCPG) Microservice client.",
"main": "start.js",
"repository": {
"type": "git",
"url": "https://github.com/restorecommerce/payment-srv.git"
},
"author": "n-fuse GmbH",
"license": "MIT",
"keywords": [
"restore",
"commerce",
"microservice",
"payment",
"srv"
],
"type": "module",
"dependencies": {
"@restorecommerce/chassis-srv": "^1.6.2",
"@restorecommerce/grpc-client": "^2.2.4",
"@restorecommerce/kafka-client": "^1.2.10",
"@restorecommerce/logger": "^1.3.1",
"@restorecommerce/protos": "^6.8.7",
"@restorecommerce/rc-grpc-clients": "^5.1.32",
"@restorecommerce/service-config": "^1.0.15",
"child_process": "^1.0.2",
"lodash-es": "^4.17.21",
"redis": "^4.6.14",
"util": "^0.12.5"
},
"overrides": {
"@grpc/grpc-js": "^1.10.6"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@restorecommerce/dev": "^0.0.12",
"@semantic-release-plus/docker": "^3.1.3",
"@types/koa": "^2.15.0",
"@types/lodash": "^4.17.4",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.9",
"@types/redis": "^4.0.11",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"c8": "^10.1.2",
"cross-env": "^7.0.3",
"esbuild": "^0.21.5",
"eslint": "^8.56.0",
"eslint-plugin-prefer-arrow-functions": "^3.3.2",
"express": "^4.19.2",
"husky": "^9.0.11",
"mocha": "^10.5.2",
"nodemon": "^3.1.4",
"npm-run-all": "^4.1.5",
"puppeteer": "^22.12.1",
"rimraf": "^5.0.7",
"should": "^13.2.3",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"tslint": "^6.1.3",
"typescript": "^5.5.2"
},
"scripts": {
"lint": "eslint src --ext .ts",
"start": "node lib/start.cjs",
"dev": "cross-env NODE_ENV=development nodemon --watch './src/**/*.ts' --exec node --loader ts-node/esm ./src/start.ts",
"tsdev": "ts-node-dev --no-notify --respawn --transpileOnly ./src",
"tsdev:nocluster": "ts-node-dev --no-notify --respawn --transpileOnly ./src/start.ts",
"test": "npm run lint && c8 --reporter=text npm run mocha --timeout=5000",
"mocha": "cross-env NODE_ENV=test mocha --timeout 15000 -r ts-node/register -R spec ./test/*.spec.ts --full-trace --exit",
"build:es": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/index.cjs --minify --tree-shaking=true --sourcemap=inline",
"lcov-report": "c8 report --reporter=lcov",
"build:clean": "rimraf lib",
"build": "npm-run-all lint build:clean build:es",
"prepare": "node -e \"try { require('husky').install() } catch (e) {}\""
},
"engines": {
"node": ">= 20.8.0"
},
"release": {
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release-plus/docker",
{
"name": "docker.io/restorecommerce/payment-srv",
"skipLogin": true
}
],
[
"@semantic-release-plus/docker",
{
"name": "ghcr.io/restorecommerce/payment-srv",
"skipLogin": true
}
]
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}