-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
101 lines (101 loc) · 2.43 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
{
"name": "@fxdigital/nestjs-leader-election",
"version": "1.0.0",
"description": "Adds quasi-Raft Consensus leader election to NestJs microservice instances using a Redis broker.",
"license": "MIT",
"contributors": [
{
"name": "Adam Rann",
"email": "adam+npm@fxdigital.uk",
"url": "https://fxdigital.uk"
},
{
"name": "Lorelei Aurora",
"email": "iam@l5i.me",
"url": "https://l5i.me"
}
],
"main": "lib/index.js",
"module": "lib/index.ts",
"types": "lib/index.d.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"README.md",
"lib/**/*.d.ts",
"lib/**/*.d.ts.map",
"lib/**/*.js",
"lib/**/*.js.map"
],
"homepage": "https://github.com/wearefx/nestjs-leader-election",
"bugs": {
"url": "https://github.com/wearefx/nestjs-leader-election/-/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/wearefx/nestjs-leader-election.git"
},
"engineStrict": true,
"engines": {
"node": "^14.0.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "yarn commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn lint-staged"
}
},
"lint-staged": {
"*.{json,md,yml,yaml}": [
"prettier --write",
"git add"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"scripts": {
"test": "yarn jest",
"build": "yarn tsc -b"
},
"dependencies": {
"@nestjs/common": "7.6.13",
"@nestjs/config": "0.6.3",
"@nestjs/schedule": "0.4.2",
"handy-redis": "2.2.1",
"rxjs": "6.6.7",
"uuid": "8.3.2"
},
"devDependencies": {
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",
"@commitlint/prompt-cli": "12.1.4",
"@fxd-dev-util/eslint-config-base": "1.0.0",
"@types/cron": "1.7.2",
"@types/jest": "26.0.23",
"@types/prettier": "2.1.6",
"@types/uuid": "8.3.0",
"@typescript-eslint/eslint-plugin": "4.28.1",
"@typescript-eslint/parser": "4.28.1",
"eslint": "7.29.0",
"eslint-import-resolver-node": "0.3.4",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-promise": "4.3.1",
"husky": "4.3.8",
"jest": "26.6.3",
"lint-staged": "11.0.0",
"prettier": "2.1.1",
"ts-jest": "26.5.6",
"typescript": "4.3.4"
}
}