-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 3.21 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
{
"name": "@restorecommerce/notification-srv",
"version": "1.2.8",
"description": "Restorecommerce notification microservice",
"main": "lib/start.js",
"author": "n-fuse GmbH",
"repository": {
"type": "git",
"url": "https://github.com/restorecommerce/notification-srv.git"
},
"license": "MIT",
"keywords": [
"restore",
"commerce",
"microservice",
"notification"
],
"type": "module",
"dependencies": {
"@restorecommerce/chassis-srv": "1.6.5",
"@restorecommerce/grpc-client": "2.2.5",
"@restorecommerce/kafka-client": "1.2.22",
"@restorecommerce/logger": "1.3.2",
"@restorecommerce/mailer": "1.0.12",
"@restorecommerce/rc-grpc-clients": "5.1.44",
"@restorecommerce/scs-jobs": "0.1.49",
"@restorecommerce/service-config": "^1.0.16",
"lodash-es": "^4.17.21",
"retry": "^0.13.1"
},
"devDependencies": {
"@commitlint/cli": "19.6.0",
"@commitlint/config-conventional": "19.6.0",
"@restorecommerce/dev": "0.0.13",
"@semantic-release-plus/docker": "^3.1.3",
"@types/lodash-es": "^4.17.12",
"@types/mocha": "10.0.10",
"@types/node": "22.9.1",
"c8": "^10.1.2",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"esbuild": "0.24.0",
"eslint": "9.15.0",
"typescript-eslint": "8.15.0",
"husky": "9.1.7",
"mocha": "11.0.0",
"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 node lib/start.cjs",
"test": "cross-env NODE_ENV=test npm run lint && c8 --reporter=text npm run mocha",
"lint": "eslint src",
"mocha": "cross-env NODE_ENV=test mocha -R spec --timeout 60000 --stack-trace --exit",
"lcov-report": "c8 report --reporter=lcov",
"coveralls": "c8 report --reporter=text-lcov | coveralls",
"test-debug": "cross-env NODE_ENV=test mocha test/*.js --inspect-brk --exit",
"tsctests": "tsc -d -p tsconfig.test.json",
"build:es": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/start.cjs --minify --tree-shaking=true --sourcemap=inline",
"build:jobs": "find ./src/jobs -maxdepth 1 -type f -exec sh -c 'esbuild {} --bundle --platform=node --outfile=lib/jobs/$(basename {} .ts).cjs --minify --tree-shaking=true --sourcemap=inline' \\;",
"build:clean": "rimraf lib",
"build": "npm-run-all lint build:clean build:es build:jobs",
"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/notification-srv",
"skipLogin": true
}
],
[
"@semantic-release-plus/docker",
{
"name": "ghcr.io/restorecommerce/notification-srv",
"skipLogin": true
}
]
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}