-
-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 4.11 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 4.11 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
{
"name": "h1z1-server",
"version": "0.48.0",
"description": "Library for emulating h1z1 servers",
"author": "Quentin Gruber <quentingruber@gmail.com> (http://github.com/quentingruber)",
"license": "GPL-3.0-only",
"main": "h1z1-server.js",
"engines": {
"node": ">=0.24.0 <26"
},
"bin": {
"h1z1-server-demo": "scripts/h1z1-server-demo.js",
"h1z1-server-demo-2016": "scripts/h1z1-server-demo-2016.js"
},
"dependencies": {
"@types/js-yaml": "4.0.9",
"@types/node": "25.2.0",
"@types/ws": "8.18.1",
"debug": "4.4.3",
"elastic-apm-node": "^4.15.0",
"h1emu-core": "1.3.2",
"h1z1-dataschema": "1.9.2",
"js-yaml": "4.1.1",
"mongodb": "6.20.0",
"recast-navigation": "0.43.0",
"threads": "1.7.0",
"typescript": "5.9.3",
"ws": "8.19.0"
},
"directories": {
"src": "./src"
},
"devDependencies": {
"cross-env": "^10.1.0",
"globals": "^17.3.0",
"oxlint": "^1.43.0",
"prettier": "^3.8.1",
"tsx": "^4.21.0",
"typedoc": "^0.28.16"
},
"scripts": {
"gen-packets-types": "tsx ./scripts/genPacketsNames.ts",
"gen-model-textures": "tsx ./scripts/genModelTextures.ts",
"gen-packets-interfaces": "tsx ./scripts/genPacketsInterfaces.ts ",
"fix-signatures": "tsx ./scripts/fixSignatures.ts && npm run prettier_sources",
"gen-doc": "npm run updt-doc-config && typedoc",
"updt-doc-config": "tsx ./scripts/updateTypeDoc.ts",
"start": "node --no-warnings --experimental-require-module ./scripts/h1z1-server-demo-2016.js",
"start-dev": "npm run build && npm start",
"start-echo": "npm run build && npm run build-benchs && node --inspect ./benchmarks/out/echo/echo-server-start.js",
"stress": "npm run build && npm run build-benchs && node benchmarks/out/zoneStress/zone-stress.js",
"stress-profile": "npm run build && npm run build-benchs && node --cpu-prof benchmarks/out/zoneStress/zone-stress.js",
"stress-inspect": "npm run build && npm run build-benchs && node --inspect benchmarks/out/zoneStress/zone-stress.js",
"lint": "oxlint -c oxlintrc.json src",
"lint-quiet": "oxlint --quiet -c oxlintrc.json src",
"build": "npm run build-all",
"build-all": "tsc -p ./tsconfig.json",
"build-login-2015": "tsc -p ./tsconfigs/tsconfig-2015-login.json",
"build-login-2016": "tsc -p ./tsconfigs/tsconfig-2016-login.json",
"build-zone-2015": "tsc -p ./tsconfigs/tsconfig-2015-zone.json",
"build-zone-2016": "tsc -p ./tsconfigs/tsconfig-2016-zone.json",
"build-tests": "tsc -p tsconfigs/tsconfig-tests.json",
"build-benchs": "tsc -p ./benchmarks/tsconfig.json",
"build-docker-images": "tsx ./docker/buildDocker.ts",
"test-mongo": "npm run build && npm run build-tests && MONGO_TESTS='true' DISABLE_PLUGINS='true' node --no-warnings --experimental-require-module --no-experimental-strip-types --test",
"test": "npm run build && npm run build-tests && cross-env DISABLE_PLUGINS='true' node --no-warnings --experimental-require-module --no-experimental-strip-types --test",
"test-dev": "npm run lint -- --quiet && npm run check_prettier && npm t",
"postinstall": "npm run build",
"publish_release": "git push --tags && git push origin dev && git push origin master && git checkout dev && npm run publish_release-next",
"publish_release-next": "npm run create-release-next && npm publish --tag next && git push origin dev",
"create-release-next": "npm version --no-git-tag-version prerelease && git add . && git commit -m 'publish-a-next-version' ",
"check_prettier": "prettier --check ./src && prettier --check ./tests && prettier --check ./benchmarks",
"format": "npm run prettier_sources",
"prettier_sources": "prettier --write ./src && prettier --write ./tests && prettier --write ./benchmarks",
"tests": "npm run gen-packets-types && npm run gen-packets-interfaces && npm run prettier_sources"
},
"repository": {
"type": "git",
"url": "git+https://github.com/QuentinGruber/h1z1-server.git"
},
"keywords": [
"h1z1",
"server",
"emulation"
],
"bugs": {
"url": "https://github.com/QuentinGruber/h1z1-server/issues"
},
"homepage": "http://h1emu.com/"
}