-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
111 lines (111 loc) · 2.88 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
{
"name": "ratnation",
"type": "module",
"scripts": {
"build": "tsc",
"fix": "eslint . --fix",
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --coverage --verbose"
},
"dependencies": {
"chalk-template": "1.x",
"delay": "6.x",
"execa": "9.x",
"find-my-way": "9.x",
"got": "14.x",
"is-port-reachable": "4.x",
"p-wait-for": "5.x",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
"source-map-support": "0.5.x",
"split2": "4.x",
"yargs": "17.x"
},
"devDependencies": {
"@jest/globals": "29.x",
"@types/node": "22.x",
"@types/split2": "4.x",
"@types/supertest": "6.x",
"@typescript-eslint/eslint-plugin": "7.x",
"@typescript-eslint/parser": "7.x",
"eslint": "8.x",
"jest": "29.x",
"supertest": "7.x",
"ts-jest": "29.x",
"typescript": "5.x",
"wait-for-expect": "3.x"
},
"engines": {
"node": ">=18"
},
"eslintConfig": {
"env": {
"es2022": true,
"node": true
},
"ignorePatterns": [
"*.js"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./tsconfig.json"
]
},
"rules": {
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/quotes": "error",
"@typescript-eslint/object-curly-spacing": "error",
"@typescript-eslint/space-before-function-paren": "error",
"@typescript-eslint/member-delimiter-style": "error",
"@typescript-eslint/semi": "error",
"@typescript-eslint/comma-dangle": [
"error",
"always-multiline"
],
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/require-await": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/indent": [
"error",
4
],
"@typescript-eslint/space-before-blocks": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/func-call-spacing": "error",
"@typescript-eslint/comma-spacing": "error",
"@typescript-eslint/space-infix-ops": "error",
"@typescript-eslint/no-misused-promises": [
"error",
{
"checksVoidReturn": false
}
],
"@typescript-eslint/promise-function-async": "error",
"keyword-spacing": "error",
"space-in-parens": "error",
"no-trailing-spaces": "error",
"no-multi-spaces": "error",
"arrow-spacing": "error",
"key-spacing": "error"
}
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testMatch": [
"**/tests/**/*.test.ts"
],
"collectCoverageFrom": [
"src/**/*.{ts,js}",
"!src/index.{ts,js}"
],
"coverageReporters": [
"text-summary",
"json-summary",
"lcov"
]
}
}