forked from QuentinGruber/h1z1-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.76 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
{
"name": "h1z1-server",
"version": "0.29.1",
"description": "Library for emulating h1z1 servers",
"author": "Quentin Gruber <[email protected]> (http://github.com/quentingruber)",
"license": "GPL-3.0-only",
"main": "h1z1-server.js",
"engines": {
"node": ">=0.17.0 <21"
},
"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.5",
"@types/node": "20.8.10",
"debug": "4.3.4",
"h1emu-core": "1.2.2",
"h1z1-dataschema": "1.7.0",
"js-yaml": "4.1.0",
"mongodb": "6.2.0",
"threads": "1.7.0",
"typescript": "5.1.6"
},
"directories": {
"src": "./src"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"eslint": "^8.45.0",
"glob": "8.1.0",
"prettier": "3.0.2",
"ts-node": "10.9.1",
"typedoc": "^0.24.8"
},
"scripts": {
"gen-packets-types": "npx ts-node ./scripts/genPacketsNames.ts",
"gen-model-textures": "npx ts-node ./scripts/genModelTextures.ts",
"gen-packets-interfaces": "npx ts-node ./scripts/genPacketsInterfaces.ts ",
"fix-signatures": "npx ts-node ./scripts/fixSignatures.ts && npm run prettier_sources",
"gen-doc": "npx typedoc",
"start": "node ./scripts/h1z1-server-demo-2016.js",
"lint": "npx eslint src",
"lint-quiet": "npx 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": "npx tsc -p tsconfigs/tsconfig-tests.json",
"build-benchs": "npx tsc -p ./benchmarks/tsconfig.json",
"build-docker-images": "npx ts-node ./docker/buildDocker.ts",
"build-binaries-win": "cd ./bin/ && build.bat",
"build-binaries-unix": "chmod +x ./bin/build.sh && ./bin/build.sh",
"test-zone-client": "node tests_out/2015/zoneClientTest.js",
"test-login-client": "node tests_out/2015/loginClientTest.js",
"test-mongo-2016": "node tests_out/2016/mongo/zoneClientTest.js && node tests_out/2016/mongo/testRuntime.js",
"test-mongo-2015": "node tests_out/2015/mongo/loginClientTest.js && node tests_out/2015/mongo/zoneClientTest.js && node tests_out/2015/mongo/testRuntime.js",
"test-mongo": "npm run build && npm run build-tests && npm run test-mongo-2015",
"test-2015": "node tests_out/2015/testRuntime.js && node tests_out/2015/testIssuesInPacketSchemas.js && npm run test-login-client && npm run test-zone-client",
"test-2016": "node tests_out/2016/testRuntime.js && node tests_out/2016/testIssuesInPacketSchemas.js",
"test": "npm run build && npm run build-tests && npm run test-2015 && npm run test-2016",
"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 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"
},
"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/"
}