-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
130 lines (130 loc) · 3.15 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "civ13",
"version": "0.0.1",
"description": "civ13 in typespess",
"main": "index.js",
"author": "taislin",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/civ13/civ13-typespess.git"
},
"dependencies": {
"browserify": "^17.0.0",
"cson": "^7.20.0",
"finalhandler": "^1.2.0",
"pouchdb": "^8.0.0",
"pouchdb-server": "^4.2.0",
"serve-static": "^1.15.0",
"toposort": "^2.0.2",
"underscore": "^1.13.6",
"ws": "^8.12.0",
"uglifyify": "^5.0.2"
},
"devDependencies": {
"@types/browserify": "^12.0.36",
"@types/cson": "^7.20.0",
"@types/finalhandler": "^1.1.0",
"@types/node": "^14.14.31",
"@types/pouchdb": "^6.4.0",
"@types/serve-static": "^1.13.9",
"@types/toposort": "^2.0.3",
"@types/underscore": "^1.11.2",
"@types/ws": "^7.4.5",
"@typescript-eslint/parser": "^5.48.2",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"eslint-plugin-sonarjs": "^0.18.0",
"eslint-plugin-node": "^11.1.0",
"ts-node": "10.9.1"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=6.0.0"
},
"eslintConfig": {
"env": {
"node": true,
"browser": true,
"commonjs": true,
"es2020": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:node/recommended",
"plugin:sonarjs/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"plugins": [
"@typescript-eslint",
"sonarjs"
],
"rules": {
"sonarjs/cognitive-complexity": [
"error",
25
],
"sonarjs/no-duplicate-string": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"node/no-unsupported-features/es-syntax": 0,
"max-depth": [
"warn",
6
],
"max-nested-callbacks": [
"warn",
10
],
"max-lines": [
"error",
{
"max": 1000,
"skipComments": true,
"skipBlankLines": true
}
],
"curly": "error",
"block-scoped-var": "error",
"eqeqeq": "error",
"guard-for-in": "warn",
"new-cap": "warn",
"no-caller": "error",
"no-class-assign": "error",
"no-cond-assign": "error",
"no-const-assign": "error",
"no-constant-condition": "warn",
"no-delete-var": "error",
"no-dupe-args": "error",
"no-duplicate-case": "warn",
"no-empty": "warn",
"no-extra-semi": "warn",
"no-func-assign": "error",
"no-iterator": "error",
"no-loop-func": "error",
"no-new": "error",
"no-mixed-spaces-and-tabs": "error",
"no-redeclare": "error",
"no-undefined": "warn",
"no-undef": "warn",
"semi": "error",
"use-isnan": "error",
"valid-typeof": "error",
"wrap-iife": "error",
"node/no-unpublished-require": 0
}
},
"prettier": {
"tabWidth": 4,
"useTabs": true,
"bracketSpacing": false,
"printWidth": 120
}
}