-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
130 lines (130 loc) · 4.36 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": "coh-replay-analyzer-discord-bot",
"version": "0.0.2",
"description": "",
"main": "./dist/index.js",
"diagnostics": {
"support": {
"guild": "753277157027086427",
"channel": "820346619186511873",
"inviteUrl": "https://discord.gg/RwCZTUwMd3"
},
"log": {
"guild": "753277157027086427",
"channel": "753552456574697522"
},
"test": {
"guild": "753277157027086427",
"channel": "754050938066436153"
},
"warning": {
"guild": "753277157027086427",
"channel": "760874106228572170"
},
"error": {
"guild": "753277157027086427",
"channel": "760874106228572170"
},
"admin": {
"guild": "753277157027086427",
"user": "163578909965811712"
}
},
"replays.common": {
"replaysTempPath": "./.replays",
"minDataLength": 12,
"expandChatPreview": {
"reaction": "💬",
"timeoutSeconds": 30
},
"waitForDeletionTimeoutSeconds": 30,
"customMapSupportRequestInviteUrl": "https://discord.gg/nBQQ4Xh5RR"
},
"replays.magic.COH2_REC": {
"magic": "COH2_REC",
"minVersion": 19545,
"flankExecutablePath": "./.flank.coh2.bin/release/flank",
"flankArgs": "--wipecmd",
"scenarioPreviewImageRootPath": "./data/scenario-preview-images/coh2",
"commanderDatabaseFilepath": "./data/game-data/coh2/commanders.json",
"localeFilePaths": {
"en": "./data/locale/coh2/English.ucs",
"fr": "./data/locale/coh2/French.ucs"
},
"leaderboardUrl": {
"template": "https://coh2stats.com/players/{steamId}",
"query": {
"utm_source": "coh-replay-analyzer-discord-bot"
}
},
"factionEmojis": {
"german": "<:coh2_german:1139926822109323364>",
"soviet": "<:coh2_soviet:1139926823992574002>",
"west_german": "<:coh2_west_german:1139926826513350698>",
"aef": "<:coh2_aef:1139926813737484309>",
"british": "<:coh2_british:1139926818393174086>"
},
"commanderColumnTitle": "replay.player.commander"
},
"replays.magic.COH3_RE": {
"magic": "COH3_RE",
"minVersion": 8369,
"flankExecutablePath": "./.flank.coh3.bin/release/flank",
"flankArgs": "-c",
"scenarioPreviewImageRootPath": "./data/scenario-preview-images/coh3",
"commanderDatabaseFilepath": "./data/game-data/coh3/battlegroups.json",
"localeFilePaths": {
"en": "./data/locale/coh3/English.ucs",
"fr": "./data/locale/coh3/French.ucs"
},
"leaderboardUrl": {
"template": "https://coh3stats.com/players/{profileId}",
"query": {
"utm_source": "coh-replay-analyzer-discord-bot"
}
},
"factionEmojis": {
"Wehrmacht": "<:coh3_german:1139926477115228200>",
"Americans": "<:coh3_american:1139926474359570464>",
"AfrikaKorps": "<:coh3_afrika_korps:1139926471541006336>",
"British": "<:coh3_british:1139926475823386734>"
},
"commanderColumnTitle": "replay.player.battlegroup"
},
"scripts": {
"dev": "rimraf ./dist && tsc --project ./tsconfig.json --watch",
"build": "rimraf ./dist && tsc --project ./tsconfig.json",
"build:flank:coh2": "rimraf ./.flank.coh2.bin && cd flank && git pull origin master --rebase && git checkout v0.6.0 && cd .. && cargo build --manifest-path flank/Cargo.toml --release --target-dir .flank.coh2.bin",
"build:flank:coh3": "rimraf ./.flank.coh3.bin && cd flank && git pull origin master --rebase && git checkout v3.0.1 && cd .. && cargo build --manifest-path flank/Cargo.toml --release --target-dir .flank.coh3.bin",
"start": "node ./dist/index.js --enable-source-maps",
"test": "ts-mocha -p ./tsconfig.json ./src/**/*.spec.ts --exit",
"test:coverage": "nyc --cache false --reporter=text --reporter=html npm test"
},
"author": "Janne Varjo",
"license": "MIT",
"dependencies": {
"@types/md5": "^2.3.5",
"discord.js": "^14.15.3",
"download": "^8.0.0",
"fs-extra": "^11.2.0",
"md5": "^2.3.0",
"moment": "^2.29.4",
"safe-stable-stringify": "^2.4.3",
"uuid": "^9.0.1"
},
"devDependencies": {
"@tsconfig/node12": "^1.0.11",
"@types/assert": "^1.5.6",
"@types/download": "^8.0.2",
"@types/fs-extra": "^11.0.1",
"@types/mocha": "^8.0.3",
"@types/uuid": "^9.0.2",
"madge": "^6.1.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"ts-mocha": "^10.0.0",
"type-fest": "^0.16.0",
"typescript": "^5.3.2"
}
}