-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 3.17 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
{
"name": "@restorecommerce/resource-srv",
"version": "1.5.1",
"description": "Restore Commerce Resource Microservice",
"main": "lib/start.js",
"author": "n-fuse GmbH",
"repository": {
"type": "git",
"url": "https://github.com/restorecommerce/resource-srv.git"
},
"license": "MIT",
"keywords": [
"restore",
"commerce",
"microservice",
"resource"
],
"type": "module",
"dependencies": {
"@restorecommerce/acs-client": "3.0.7",
"@restorecommerce/grpc-client": "^2.2.5",
"@restorecommerce/kafka-client": "1.2.20",
"@restorecommerce/rc-grpc-clients": "5.1.42",
"@restorecommerce/resource-base-interface": "1.6.4",
"@restorecommerce/service-config": "1.0.16",
"@restorecommerce/logger": "^1.3.2",
"lodash-es": "^4.17.21",
"redis": "^4.6.14",
"uuid": "11.0.3"
},
"devDependencies": {
"@alenon/grpc-mock-server": "3.1.15",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@grpc/proto-loader": "^0.7.13",
"@restorecommerce/dev": "0.0.13",
"@semantic-release-plus/docker": "^3.1.3",
"@types/lodash-es": "^4.17.12",
"@types/mocha": "10.0.9",
"@types/node": "22.9.0",
"@types/redis": "^4.0.11",
"@types/uuid": "^10.0.0",
"c8": "^10.1.2",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"esbuild": "0.24.0",
"eslint": "9.14.0",
"husky": "9.1.6",
"mocha": "10.8.2",
"nodemon": "3.1.7",
"npm-run-all": "^4.1.5",
"rimraf": "6.0.1",
"should": "^13.2.3",
"ts-node": "^10.9.2",
"typescript": "5.6.3"
},
"scripts": {
"start": "node ./lib/start.cjs",
"dev": "cross-env NODE_ENV=development nodemon --watch './src/**/*.ts' --exec node --loader ts-node/esm ./src/start.ts",
"tsctests": "tsc -d -p tsconfig.test.json",
"test": "npm run lint && c8 --reporter=text npm run mocha",
"lint": "eslint src",
"mocha": "cross-env NODE_ENV=test mocha --full-trace --exit --timeout 30000",
"mochadebug": "cross-env NODE_ENV=test; mocha -R spec ./test/*.js --full-trace --inspect-brk",
"lcov-report": "c8 report --reporter=lcov",
"coveralls": "c8 report --reporter=text-lcov | coveralls",
"build:es": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/start.cjs --minify --tree-shaking=true --sourcemap=inline",
"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/resource-srv",
"skipLogin": true
}
],
[
"@semantic-release-plus/docker",
{
"name": "ghcr.io/restorecommerce/resource-srv",
"skipLogin": true
}
]
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}