-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
258 lines (258 loc) · 12.2 KB
/
Copy pathpackage.json
File metadata and controls
258 lines (258 loc) · 12.2 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
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
{
"name": "root",
"private": true,
"version": "0.3.0",
"scripts": {
"start": "cd ./src/aux-server/ && node ./aux-backend/server/dist/main.js",
"bootstrap": "pnpm install --frozen-lockfile",
"bootstrap:aws": "node src/aux-server/script/bootstrap.mjs",
"cockroach": "cockroach start-single-node --insecure",
"reset:aws": "node src/aux-server/script/bootstrap.js --reset",
"watch": "npm run clean && concurrently --names \"Libs,Server\" \"npm run watch:libs\" \"npm run watch:server\"",
"watch:secure": "npm run clean && concurrently --names \"Libs,Server\" \"npm run watch:libs\" \"npm run watch:server:secure\"",
"watch:server": "pnpm --filter @casual-simulation/aux-server watch",
"watch:server:player": "pnpm --filter @casual-simulation/aux-server watch:player",
"watch:server:secure": "pnpm --filter @casual-simulation/aux-server watch:secure",
"watch:libs": "tsc --build --watch --preserveWatchOutput",
"watch:docs": "cd docs && npm start",
"serverless": "pnpm --filter @casual-simulation/aux-server serverless",
"merge:secrets": "pnpm --filter @casual-simulation/aux-server merge:secrets",
"rebuild": "npm run clean && npm run build",
"build": "npm run clean && npm run build:libs && npm run build:server && npm run build:proxy && npm run build:redirector && npm run build:cli",
"build:tar:docker": "npm run build && npm run tar:docker",
"build:docker": "npm run build && npm run package:docker",
"build:docker:arm32": "npm run build:tar:docker && npm run package:docker:arm32",
"build:docker:arm64": "npm run build:tar:docker && npm run package:docker:arm64",
"build:libs": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsc --build",
"build:server": "pnpm --filter @casual-simulation/aux-server build",
"build:web": "pnpm --filter @casual-simulation/aux-server build:web",
"build:web:player:static": "pnpm --filter @casual-simulation/aux-server build:web:player:static",
"build:proxy": "pnpm --filter @casual-simulation/aux-proxy build",
"build:redirector": "pnpm --filter @casual-simulation/aux-redirector build",
"build:docs": "npm run clean && cd docs && npm run build",
"build:profile": "npm run clean && npm run build:libs && pnpm --filter @casual-simulation/aux-server build:profile",
"build:dev:profile": "npm run clean && npm run build:libs && pnpm --filter @casual-simulation/aux-server build:dev:profile",
"package:docker": "docker build -t casualsimulation/aux .",
"package:docker:arm32": "docker build -t casualsimulation/aux-arm32 -f Dockerfile.arm32 .",
"package:docker:arm64": "docker build -t casualsimulation/aux-arm64 -f Dockerfile.arm64 .",
"package:docker:proxy": "docker build -t casualsimulation/aux-proxy ./src/aux-proxy",
"package:docker:redirector": "docker build -t casualsimulation/aux-redirector ./src/aux-redirector",
"package:config": "node ./script/prerender-web-config.mjs",
"test:watch": "npm run clean && pnpm pretest && jest --watchAll",
"test": "npm run clean && jest --verbose",
"test:ci": "npm run clean && pnpm pretest && jest --no-cache --ci --reporters=default --reporters=jest-junit",
"test:coverage": "pnpm pretest && npm test -- --coverage --reporters=default --reporters=jest-html-reporter",
"test:debug": "pnpm pretest && node --inspect ./node_modules/jest/bin/jest.js --runInBand",
"test:playwright": "pnpm pretest && npm run build:server && npm run package:config && npm run playwright:test",
"playwright:test": "npx playwright test",
"playwright:update-screenshots": "npx playwright test -u",
"clean": "jake clean",
"clean:cache": "jake clean-cache",
"debug:server:chrome": "node --inspect src/aux-server/server/dist/main.js",
"tar:docker": "node ./script/make-tar-docker.mjs",
"tar:client": "node ./script/make-tar-client.mjs",
"bench": "npm run build:libs && pnpm --filter @casual-simulation/aux-benchmarks bench",
"bench:profile": "npm run build:libs && pnpm --filter @casual-simulation/aux-benchmarks bench:profile",
"cloc": "cloc src --exclude-dir=node_modules --exclude-ext=js,json,def",
"cli": "pnpm --filter casualos dev",
"build:cli": "pnpm --filter casualos build",
"nerdctl:dev": "nerdctl compose -f ./docker/docker-compose.dev.yml up -d",
"docker:dev": "docker compose -f ./docker/docker-compose.dev.yml up -d",
"lint": "npm run clean && eslint src",
"lint:fix": "npm run clean && eslint src --fix",
"lint:casualos": "npm run lint:common && npm run lint:components && npm run lint:common && npm run lint:records && npm run lint:records && npm run lint:runtime && npm run lint:server && npm run lint:vm && npm run lint:websocket && npm run lint:cli && npm run lint:infra && npm run lint:crypto",
"lint:others": "npm run lint:interpreter && npm run lint:github && npm run lint:redis && npm run lint:tunnel && npm run lint:undom && npm run lint:shortkey",
"lint:benchmarks": "eslint src/aux-benchmarks",
"lint:common": "eslint src/aux-common",
"lint:components": "eslint src/aux-components",
"lint:proxy": "eslint src/aux-proxy",
"lint:redirector": "eslint src/aux-redirector",
"lint:records": "eslint src/aux-records",
"lint:runtime": "eslint src/aux-runtime",
"lint:server": "eslint src/aux-server",
"lint:server:backend": "eslint src/aux-server/aux-backend",
"lint:server:web": "eslint src/aux-server/aux-web",
"lint:server:shared": "eslint src/aux-server/shared",
"lint:vm": "eslint src/aux-vm src/aux-vm-browser src/aux-vm-client src/aux-vm-deno src/aux-vm-node",
"lint:websocket": "eslint src/aux-websocket src/aux-websocket-aws src/websocket",
"lint:cli": "eslint src/casualos-cli",
"lint:infra": "eslint src/casualos-infra",
"lint:crypto": "eslint src/crypto src/crypto-browser",
"lint:interpreter": "eslint src/js-interpreter",
"lint:github": "eslint src/make-github-release",
"lint:redis": "eslint src/rate-limit-redis",
"lint:tunnel": "eslint src/tunnel",
"lint:undom": "eslint src/undom",
"lint:shortkey": "eslint src/vue-shortkey",
"prisma:migrate:dev": "pnpm --filter @casual-simulation/aux-server exec prisma migrate dev",
"prisma:migrate:sqlite:dev": "pnpm --filter @casual-simulation/aux-server exec prisma --config ./prisma.sqlite.config.ts migrate dev",
"prepare": "husky",
"pretest": "tsx ./script/pretest.mts"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.14.4",
"@eslint/js": "^9.22.0",
"@playwright/test": "^1.22.1",
"@testing-library/preact": "3.2.4",
"@types/arcgis-js-api": "4.24.0",
"@types/bcryptjs": "^2.4.2",
"@types/benchmark": "^2.1.1",
"@types/bn.js": "^5.1.0",
"@types/body-parser": "1.19.5",
"@types/bson": "4.0.5",
"@types/chai": "^4.2.22",
"@types/cli-progress": "^3.9.2",
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.12",
"@types/d3": "^7.1.0",
"@types/estraverse": "^5.1.1",
"@types/estree": "1.0.0",
"@types/express": "^4.17.13",
"@types/express-http-proxy": "^1.6.7",
"@types/faker": "5.1.3",
"@types/hapi__joi": "^17.1.7",
"@types/howler": "^2.2.4",
"@types/http-proxy": "^1.17.7",
"@types/inquirer": "^8.1.3",
"@types/jest": "^30.0.0",
"@types/jsdom": "^27.0.0",
"@types/jsonwebtoken": "^9.0.5",
"@types/lru-cache": "^5.1.1",
"@types/luxon": "3.3.7",
"@types/mime": "^2.0.3",
"@types/mock-fs": "4.13.1",
"@types/mongodb": "^3.5.32",
"@types/mustache": "^4.2.2",
"@types/node": "^18.15.5",
"@types/offscreencanvas": "^2019.6.4",
"@types/qrcode": "1.5.6",
"@types/redis": "^2.8.32",
"@types/sshpk": "^1.10.7",
"@types/stripe-v3": "^3.1.7",
"@types/three": "^0.182.0",
"@types/uuid": "10.0.0",
"@types/vue-color": "^2.4.3",
"@types/ws": "^8.5.12",
"@typescript-eslint/utils": "^8.26.1",
"@typescript/analyze-trace": "^0.10.1",
"@zip.js/zip.js": "2.6.40",
"browserslist": ">=4.16.5",
"chai": "^4.2.0",
"chalk": "4.1.2",
"chokidar": "3.5.2",
"commander": "12.0.0",
"concurrently": "8.2.2",
"cross-env": "7.0.3",
"del": "7.0.0",
"es-toolkit": "1.39.10",
"esbuild": "0.27.0",
"esbuild-copy-static-files": "0.1.0",
"eslint": "^9.22.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-unused-imports": "4.1.4",
"eslint-plugin-vue": "^10.0.0",
"express-http-proxy": "^2.1.2",
"fake-indexeddb": "5.0.1",
"faker": "5.1.0",
"globals": "^16.0.0",
"handlebars": "^4.4.2",
"hash.js": "1.1.7",
"http-server": "14.1.1",
"husky": "^9.1.7",
"jake": "10.8.5",
"jest": "30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-environment-node": "^30.2.0",
"jest-html-reporter": "^3.7.1",
"js-yaml": "^3.13.1",
"jsdom": "27.2.0",
"jszip": "3.10.1",
"lerna": "8.0.0",
"lint-staged": "15.5.0",
"mock-fs": "5.2.0",
"nodemon": "^2.0.19",
"precise-commits": "^1.0.2",
"prettier": "^2.1.1",
"pretty-quick": "^3.0.2",
"rehype-slug": "6.0.0",
"rehype-stringify": "10.0.0",
"remark": "15.0.1",
"remark-parse": "11.0.0",
"remark-rehype": "11.0.0",
"remark-toc": "9.0.0",
"rollup-plugin-visualizer": "5.12.0",
"sass": "1.56.1",
"source-map": "0.7.3",
"tar": "4.4.18",
"three": "^0.182.0",
"ts-jest": "29.4.5",
"ts-jest-mock-import-meta": "1.3.0",
"tsx": "^4.20.6",
"typescript": "^5.0.2",
"typescript-eslint": "^8.26.1",
"unified": "11.0.4",
"vue-template-compiler": "^2.6.14",
"wait-on": "7"
},
"engines": {
"node": ">=v20.18",
"pnpm": ">=10.10"
},
"prisma": {
"schema": "./src/aux-server/aux-backend/schemas/auth.prisma"
},
"overrides": {
"loader-utils@>1.0.0 < 2": "1.4.2",
"micromatch@3": "4.0.5"
},
"pnpm": {
"overrides": {
"loader-utils@>1.0.0 < 2": "1.4.2",
"micromatch": "4.0.5",
"seedrandom": "3.0.5"
},
"patchedDependencies": {
"@mdx-js/mdx@3.0.0": "patches/@mdx-js/mdx@3.0.0.patch",
"fake-indexeddb@5.0.1": "patches/fake-indexeddb@5.0.1.patch",
"deno-vm@0.13.0": "patches/deno-vm@0.13.0.patch",
"eslint-plugin-header@3.1.1": "patches/eslint-plugin-header@3.1.1.patch",
"@types/mongodb": "patches/@types__mongodb.patch",
"parse5@7.3.0": "patches/parse5@7.3.0.patch",
"@sparkjsdev/spark": "patches/@sparkjsdev__spark.patch",
"@types/three": "patches/@types__three.patch",
"three-mesh-ui": "patches/three-mesh-ui.patch"
},
"ignoredBuiltDependencies": [
"@pulumi/aws-native",
"@pulumi/docker",
"@pulumi/docker-build",
"aws-sdk",
"core-js",
"core-js-pure",
"esbuild",
"nx",
"protobufjs",
"vue-material"
],
"onlyBuiltDependencies": [
"@prisma/client",
"@prisma/engines",
"prisma"
]
},
"packageManager": "pnpm@10.22.0+sha512.bf049efe995b28f527fd2b41ae0474ce29186f7edcb3bf545087bd61fbbebb2bf75362d1307fda09c2d288e1e499787ac12d4fcb617a974718a6051f2eee741c",
"madge": {
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,vue}": [
"eslint --fix"
]
}
}