Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 4.24 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 4.24 KB
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
131
132
{
"name": "dayz-server-manager",
"description": "A server installer and watch-dog for dayz with built-in Discord and RCon bot",
"version": "1.0.0",
"main": "dist/index.js",
"scripts": {
"postinstall": "npm run installSqlite && npm run installUi",
"installSqlite": "cd node_modules/better-sqlite3 && npx prebuild-install -d -r node -t v14.0.0 --arch x64 --platform win32",
"installUi": "cd ui && npm i",
"pack": "del-cli build/*.exe && cp VERSION dist/VERSION && pkg --out-path build .",
"buildUi": "del-cli dist/ui && cd ui && npm run build",
"mkdirExec": "node scripts/mkdir.js exec",
"buildUiIfAbsent": "node scripts/exists.js dist/ui || npm run buildUi",
"generators": "ts-node scripts/extract-template.ts",
"build": "del-cli dist/* !dist/ui && tsc && npm run generators && npm run buildUiIfAbsent && npm run buildPbos",
"start": "npm run build && npm run mkdirExec && cd exec && node ../dist/index.js",
"buildAndPack": "npm run build && npm run pack",
"startPacked": "npm run buildAndPack && npm run runPacked",
"runPacked": "npm run mkdirExec && cd exec && bash -c '../../build/dayz-server-manager.exe'",
"lint": "eslint src --ext .ts",
"buildMainPbo": "node scripts/mkdir.js dist/mods/@DayZServerManager/addons && bash -c 'makepbo -P -@=DayZServerManager/Scripts watcher_mod/DayZServerManager/Scripts dist/mods/@DayZServerManager/addons/Scripts.pbo'",
"buildExpPbo": "node scripts/mkdir.js dist/mods/@DayZServerManagerExpansion/addons && bash -c 'makepbo -P -@=DayZServerManagerExpansion/Scripts watcher_mod/DayZServerManagerExpansion/Scripts dist/mods/@DayZServerManagerExpansion/addons/Scripts.pbo'",
"buildPbos": "npm run buildMainPbo && npm run buildExpPbo",
"test": "nyc --check-coverage --lines 90 mocha",
"test:watch": "mocha -w --reporter min"
},
"author": "",
"license": "MIT",
"bin": "dist/index.js",
"pkg": {
"assets": [
"node_modules/better-sqlite3/build/Release/better_sqlite3.node",
"dist/ui/**/*",
"!dist/ui/stats.json",
"dist/mods/**/*",
"dist/**/*.js",
"dist/**/*.js.map",
"dist/VERSION",
"dist/config/config.shema.json"
],
"__comment": "node14-linux-x64",
"targets": [
"node14-win-x64"
]
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/index.ts"
],
"require": [
"ts-node/register"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"text-summary"
],
"sourceMap": true,
"instrument": true,
"all": true
},
"mocha": {
"timeout": 5000,
"extension": [
"ts"
],
"spec": [
"test/**/*.test.ts"
],
"require": [
"ts-node/register"
]
},
"devDependencies": {
"@angular/cli": "^11.2.19",
"@types/better-sqlite3": "^5.4.3",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.14",
"@types/folder-hash": "^4.0.2",
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^8.2.3",
"@types/node": "^14.18.34",
"@types/node-schedule": "1.3.1",
"@types/proxyquire": "^1.3.28",
"@types/ps-node": "^0.1.1",
"@types/sinon": "^10.0.13",
"@types/sinon-chai": "^3.2.9",
"@types/table": "^6.3.2",
"@types/tail": "2.0.0",
"@types/ws": "^7.4.7",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"del-cli": "3.0.1",
"eslint": "^7.32.0",
"eslint-config-bamboo": "^5.1.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"pkg": "5.2.0",
"sinon": "^10.0.0",
"sinon-chai": "^3.7.0",
"ts-mock-imports": "^1.3.8",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"typescript-json-schema": "^0.50.1"
},
"dependencies": {
"@ltd/j-toml": "^1.35.3",
"@senfo/battleye": "2.0.3",
"better-sqlite3": "^7.6.2",
"chokidar": "^3.5.3",
"compression": "^1.7.4",
"cron-parser": "3.3.0",
"discord.js": "^11.6.4",
"express": "^4.18.2",
"express-basic-auth": "^1.2.1",
"extract-zip": "2.0.1",
"folder-hash": "^4.0.2",
"fs-extra": "^9.1.0",
"node-schedule": "2.0.0",
"reflect-metadata": "0.1.13",
"tail": "2.2.2"
}
}