-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
88 lines (88 loc) · 3.64 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
{
"name": "h1z1-server",
"version": "0.42.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.22.0 <24"
},
"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": "22.1.0",
"@types/ws": "8.5.12",
"debug": "4.3.6",
"h1emu-ai": "^0.0.8",
"h1emu-core": "1.3.0",
"h1z1-dataschema": "1.9.0",
"js-yaml": "4.1.0",
"mongodb": "6.8.0",
"recast-navigation": "^0.34.0",
"threads": "1.7.0",
"typescript": "5.5.4",
"ws": "8.18.0"
},
"directories": {
"src": "./src"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.8.0",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"cross-env": "^7.0.3",
"eslint": "^9.8.0",
"globals": "^15.9.0",
"prettier": "^3.3.3",
"tsx": "4.19.1",
"typedoc": "^0.26.5"
},
"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",
"lint": "eslint src",
"lint-quiet": "eslint --quiet 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 --test",
"test": "npm run build && npm run build-tests && cross-env DISABLE_PLUGINS='true' node --no-warnings --experimental-require-module --test",
"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 version --no-git-tag-version prerelease && git add . && git commit -m 'publish-a-next-version' && npm publish --tag next && git push origin dev",
"check_prettier": "prettier --check ./src && prettier --check ./tests && prettier --check ./benchmarks",
"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/"
}