forked from barankyle/xr3ngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·120 lines (120 loc) · 4.72 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
{
"name": "xrengine",
"description": "Game Engine, Server & Devops powering The XREngine. Please support XRFoundation https://opencollective.com/xrfoundation",
"version": "0.2.5",
"homepage": "xrengine.io",
"private": true,
"workspaces": [
"packages/*",
"packages/projects/projects/*"
],
"keywords": [
"three",
"three.js",
"ecs",
"webgl",
"mmo",
"game engine",
"webrtc",
"productivity",
"xr",
"vr"
],
"author": {
"name": "XR Engine - XR Foundation",
"email": "[email protected]"
},
"entrypoint": {},
"contributors": [],
"bugs": {},
"directories": {
"lib": "packages/server-core/src/user",
"config": "config/"
},
"engines": {
"node": ">= 16.3.0"
},
"npmClient": "npm",
"scripts": {
"check": "npm run lint && npm run check-errors && npm run test && npm run build-client",
"check-errors": "lerna run check-errors --parallel",
"start": "npm run dev",
"local": "npm run dev-docker && cross-env VITE_LOCAL_BUILD=true concurrently npm:dev-agones \"cd packages/server && npm run start\" \"cd packages/gameserver && npm run start\" \"cd packages/client && npm run local\" \"cd packages/server && npm run serve-local-files\"",
"dev": "npm run dev-docker && concurrently -n agones,server,client npm:dev-agones npm:dev-server npm:dev-client",
"dev-windows": "npm run dev-docker && concurrently -n agones,server,client npm:dev-agones npm:dev-server-windows npm:dev-client",
"golf": "npm run dev-docker && concurrently npm:dev-agones npm:dev-server-golf npm:dev-client",
"starter": "npm run dev-docker && concurrently npm:dev-agones npm:dev-server-starter npm:dev-client",
"dev-docker": "cd scripts && docker-compose up -d",
"dev-agones": "cd scripts && ./start-agones.sh",
"dev-server": "cd packages/server && npm run dev",
"dev-server-windows": "cd packages/server && npm run dev-windows",
"dev-client": "cd packages/client && npm run dev",
"dev-reinit": "cd packages/server && npm run dev-reinit-db",
"dev-reinit-windows": "cd packages/server && npm run dev-reinit-db-windows",
"dev-nginx": "",
"cleanup-tests": "node tests/cleanup-tests.js",
"pretest": "cross-env TEST=true npm run dev-reinit",
"test": "cross-env TEST=true lerna run test",
"test:e2e": "mocha",
"test:projects": "cross-env TEST=true lerna run test:projects",
"test:ci": "cpy --no-overwrite --rename=.env.local '.env.local.default' . && cross-env CI=true npm run test",
"lint": "prettier --check \"packages/**/*.{ts,tsx}\"",
"format": "prettier --write \"packages/**/*.{ts,tsx}\"",
"format-staged": "lint-staged",
"version-increment": "lerna version --conventional-commits --yes",
"version-increment-no-tag": "lerna version --conventional-commits --yes --no-git-tag-version",
"publish": "lerna publish from-package --yes",
"publish-no-verify": "lerna publish from-package --yes --no-verify-access --ignore-scripts",
"publish-github": "lerna publish from-package --yes --no-verify-access --ignore-scripts --registry https://npm.pkg.github.com",
"validate": "npm run lint && lerna run validate",
"build-publish": "lerna run build-publish --parallel",
"build-client": "cd packages/client && npm run build",
"update-name-gh-package": "lerna run update-name-gh-package",
"diff": "lerna diff",
"precommit": "no-master-commits -b master",
"make-user-admin": "ts-node scripts/make-user-admin.js",
"install-projects": "ts-node scripts/install-projects.js",
"check-db-exists": "cross-env ts-node --transpile-only scripts/check-db-exists.ts",
"init-db-production": "cross-env APP_ENV=production FORCE_DB_REFRESH=true ts-node --transpile-only packages/server/src/index.ts",
"clean-node-modules": "npx rimraf node_modules && npx rimraf package-lock.json && npx lerna exec npx rimraf node_modules && npx lerna exec npx rimraf package-lock.json",
"depcheck": "lerna exec --no-bail --stream -- depcheck"
},
"types": "lib/",
"pre-commit": [
"format-staged"
],
"pre-push": [
"check-errors",
"pretest",
"test",
"build-client"
],
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/mocha": "9.0.0",
"cli": "1.0.1",
"c8": "^7.10.0",
"concurrently": "6.4.0",
"depcheck": "1.4.2",
"kill-port": "1.6.1",
"lerna": "4.0.0",
"lint-staged": "12.1.2",
"mocha": "9.1.3",
"mocha-suppress-logs": "^0.3.1",
"no-master-commits": "1.1.1",
"pre-commit": "1.2.2",
"pre-push": "0.1.1",
"prettier": "2.4.1",
"react-dnd": "14.0.4",
"react-router-dom": "5.3.0",
"supertest": "6.1.6",
"trace-unhandled": "2.0.1",
"ts-node": "10.4.0",
"ts-node-dev": "1.1.8"
}
}