forked from ir-engine/ir-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·166 lines (166 loc) · 7.97 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "ir-engine",
"description": "Engine, Server & Devops powering Infinite Reality Engine. Please support at https://opencollective.com/etherealengine",
"version": "0.0.0",
"homepage": "ir-engine.org",
"private": true,
"bin": {
"ir-engine": "npx/cli.js"
},
"workspaces": [
"packages/*",
"packages/projects/projects/**"
],
"keywords": [
"three",
"three.js",
"ecs",
"webgl",
"mmo",
"game engine",
"webrtc",
"productivity",
"xr",
"vr"
],
"author": {
"name": "Infinite Reality Engine",
"email": "[email protected]"
},
"entrypoint": {},
"contributors": [],
"bugs": {},
"directories": {
"lib": "packages/server-core/src/user",
"config": "config/"
},
"engines": {
"node": ">= 22.11.0"
},
"npmClient": "npm",
"scripts": {
"build-client": "cd packages/client && npm run build",
"check": "npm run lint && npm run check-errors && npm run check-eslint && npm run test && npm run build-client",
"check-errors": "lerna run --scope '@ir-engine/*' check-errors && lerna run --ignore '@ir-engine/*' check-errors",
"check-eslint": "eslint --quiet .",
"checkout-dev": "lerna exec 'git checkout dev' --parallel --no-bail",
"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",
"clone-project": "ts-node --swc scripts/clone-project.ts",
"create-root-package-json": "ts-node --swc scripts/create-root-package-json",
"create-project": "ts-node --swc scripts/create-project",
"depcheck": "lerna exec --no-bail --stream -- depcheck",
"dev": "P2P_INSTANCE_ENABLED=\"$(node scripts/get_env.js P2P_INSTANCE_ENABLED true)\"; npm run dev-docker && if test $P2P_INSTANCE_ENABLED = \"true\" ; then concurrently -n server,client -c '#FF9800,#7E2D40' 'cd packages/server && npm run dev-api-server' npm:dev-client ; else concurrently -n agones,server,client -c '#CEB793,#FF9800,#7E2D40' npm:dev-agones-silent npm:dev-server npm:dev-client ; fi",
"dev-noclient": "npm run dev-docker && concurrently -n agones,server,taskserver npm:dev-agones-silent npm:dev-server npm:dev-taskserver",
"dev-agones": "cd scripts && ./start-agones.sh",
"dev-agones-silent": "npm run dev-agones &> /dev/null",
"dev-client": "cd packages/client && npm run dev",
"dev-taskserver": "cd packages/taskserver && npm run dev",
"dev-docker": "cd scripts && ./start-containers.sh",
"dev-docker-windows": "cd scripts && docker-compose up -d && docker-compose up -d -f docker-compose-minio.yml",
"dev-tabs": "npm run dev-docker && cd scripts && ./dev-tabs.sh",
"fetch-projects": "lerna exec 'git fetch -p && git rebase' --parallel --no-bail",
"dev-reinit": "./scripts/checkenv.sh && npm run dev-docker && cd packages/server && npm run dev-reinit-db && cd .. && npm run precommit-hooks",
"dev-server": "cd packages/server && npm run dev",
"dev-windows": "npm run dev-docker-windows && concurrently -n agones,server,client npm:dev-agones-silent npm:dev-server npm:dev-client",
"diff": "lerna diff",
"format": "prettier --write \"packages/**/*.{ts,tsx}\" \"scripts/*.ts\"",
"format-scss": "stylelint \"packages/**/*.scss\" --fix",
"format-staged": "lint-staged",
"init-db-production": "cross-env APP_ENV=production FORCE_DB_REFRESH=true EXIT_ON_DB_INIT=true ts-node --swc packages/server/src/index.ts",
"install-manifest": "ts-node --swc scripts/install-manifest.ts",
"lint": "prettier --check \"packages/**/*.{ts,tsx}\" \"scripts/*.ts\"",
"local": "P2P_INSTANCE_ENABLED=\"$(node scripts/get_env.js P2P_INSTANCE_ENABLED true)\"; npm run dev-docker && if test $P2P_INSTANCE_ENABLED = \"true\" ; then npm run local-p2p ; else npm run local-server ; fi",
"local-p2p": "cross-env VITE_LOCAL_BUILD=true LOCAL=true concurrently -n server,client \"cd packages/server && npm run start\" \"cd packages/client && npm run local\"",
"local-server": "cross-env VITE_LOCAL_BUILD=true LOCAL=true concurrently -n agones,server,worldserver,mediaserver,client npm:dev-agones-silent \"cd packages/server && npm run start\" \"cd packages/instanceserver && npm run start\" \"cd packages/instanceserver && npm run start-channel\" \"cd packages/client && npm run local\"",
"make-user-admin": "ts-node --swc scripts/make-user-admin.ts",
"migrate": "cd packages/server-core && npm run migrate",
"migrate:rollback": "cd packages/server-core && npm run migrate:rollback",
"migrate:unlock": "cd packages/server-core && npm run migrate:unlock",
"postinstall": "patch-package --exclude ./node_modules/@mui/",
"precommit-hooks": "./scripts/add-precommit.sh",
"prepare-database": "cross-env APP_ENV=production PREPARE_DATABASE=true EXIT_ON_DB_INIT=true ts-node --swc packages/server/src/index.ts",
"publish": "lerna publish from-package --yes --registry https://registry.npmjs.org",
"publish-npm": "lerna publish from-package --yes --no-verify-access --ignore-scripts --registry https://registry.npmjs.org",
"publish-github": "lerna publish from-package --yes --no-verify-access --ignore-scripts --registry https://npm.pkg.github.com",
"test": "lerna exec --scope '@ir-engine/*' --ignore '@ir-engine/server-core' 'npm run test' && lerna exec --scope '@ir-engine/server-core' 'npm run test' && lerna exec --ignore '@ir-engine/*' 'npm run test'",
"test-e2e": "ts-node --swc scripts/run_e2e_tests.ts",
"test:ci": "cpy --no-overwrite --rename=.env.local '.env.local.default' . && cross-env CI=true npm run test",
"validate": "npm run lint && lerna run validate",
"version-increment": "lerna version --conventional-commits --yes",
"version-increment-no-tag": "lerna version --conventional-commits --yes --no-git-tag-version",
"create-build-status": "ts-node --swc scripts/create-build-status.ts",
"record-build-error": "ts-node --swc scripts/record-build-error.ts",
"record-build-success": "ts-node --swc scripts/record-build-success.ts",
"add-license-headers": "ts-node --swc scripts/add-license-headers.ts",
"storybook": "cd packages/ui && npm run storybook"
},
"types": "lib/",
"pre-commit": [
"add-license-headers",
"format-staged"
],
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write"
],
"*.scss": [
"stylelint \"**/*.scss\" --fix"
]
},
"devDependencies": {
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "9.5.0",
"@ianvs/prettier-plugin-sort-imports": "4.1.0",
"@rollup/plugin-dynamic-import-vars": "2.1.2",
"@testing-library/react": "15.0.4",
"@types/app-root-path": "1.2.4",
"@types/cli": "0.11.21",
"@types/primus": "^7.3.6",
"@types/three": "0.158.0",
"@typescript-eslint/eslint-plugin": "7.13.1",
"@typescript-eslint/parser": "7.13.1",
"@vitejs/plugin-react": "4.3.1",
"@vitest/coverage-istanbul": "2.1.1",
"@vitest/ui": "2.1.1",
"concurrently": "7.6.0",
"deep-object-diff": "^1.1.9",
"depcheck": "1.4.3",
"eslint": "9.5.0",
"globals": "15.6.0",
"kill-port": "2.0.1",
"lerna": "6.5.1",
"lint-staged": "13.2.0",
"package-json-type": "1.0.3",
"pre-commit": "1.2.2",
"prettier": "3.0.2",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.5.11",
"react-dnd": "16.0.1",
"react-router-dom": "6.9.0",
"rimraf": "4.4.0",
"stylelint": "^15.3.0",
"stylelint-config-standard-scss": "^7.0.1",
"stylelint-scss": "^4.5.0",
"supertest": "6.3.3",
"vitest": "2.1.1"
},
"dependencies": {
"@aws-sdk/client-ecr": "3.726.1",
"@aws-sdk/client-s3": "3.726.1",
"@feathersjs/errors": "5.0.5",
"@feathersjs/feathers": "5.0.5",
"@feathersjs/schema": "5.0.5",
"@feathersjs/typebox": "5.0.5",
"@swc/core": "1.7.35",
"app-root-path": "3.1.0",
"cli": "1.0.1",
"dotenv": "16.0.3",
"history": "^5.3.0",
"jsdom": "25.0.1",
"jsdom-global": "3.0.2",
"minio": "7.1.3",
"patch-package": "^6.5.1",
"ts-node": "10.9.2",
"typescript": "5.6.3"
}
}