forked from casual-simulation/casualos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
220 lines (220 loc) · 10.8 KB
/
package.json
File metadata and controls
220 lines (220 loc) · 10.8 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
{
"name": "root",
"private": true,
"version": "0.3.0",
"scripts": {
"start": "node ./src/aux-server/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": "lerna exec --no-prefix --scope @casual-simulation/aux-server -- npm run watch",
"watch:server:player": "lerna exec --no-prefix --scope @casual-simulation/aux-server -- npm run watch:player",
"watch:server:secure": "lerna exec --no-prefix --scope @casual-simulation/aux-server -- npm run watch:secure",
"watch:libs": "tsc --build --watch",
"watch:docs": "cd docs && npm start",
"serverless": "lerna exec --no-prefix --scope @casual-simulation/aux-server -- npm run serverless",
"merge:secrets": "lerna exec --no-prefix --scope @casual-simulation/aux-server -- npm run 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": "tsc --build",
"build:server": "lerna exec --scope @casual-simulation/aux-server -- npm run build",
"build:web": "lerna exec --scope @casual-simulation/aux-server -- npm run build:web",
"build:web:player:static": "lerna exec --scope @casual-simulation/aux-server -- npm run build:web:player:static",
"build:proxy": "lerna exec --scope @casual-simulation/aux-proxy -- npm run build",
"build:redirector": "lerna exec --scope @casual-simulation/aux-redirector -- npm run build",
"build:docs": "npm run clean && cd docs && npm run build",
"build:profile": "npm run clean && npm run build:libs && lerna exec --scope @casual-simulation/aux-server -- npm run build:profile",
"build:dev:profile": "npm run clean && npm run build:libs && lerna exec --scope @casual-simulation/aux-server -- npm run 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 && jest --watchAll",
"test": "npm run clean && jest --verbose",
"test:ci": "npm run clean && jest --no-cache --ci --reporters=default --reporters=jest-junit",
"test:coverage": "npm test -- --coverage --reporters=default --reporters=jest-html-reporter",
"test:debug": "node --inspect ./node_modules/jest/bin/jest.js --runInBand",
"test:playwright": "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 && lerna exec --scope @casual-simulation/aux-benchmarks -- npm run bench",
"bench:profile": "npm run build:libs && lerna exec --scope @casual-simulation/aux-benchmarks -- npm run bench:profile",
"cloc": "cloc src --exclude-dir=node_modules --exclude-ext=js,json,def",
"vite": "lerna exec --no-prefix --scope @casual-simulation/aux-server -- npm run vite",
"cli": "lerna exec --no-prefix --scope casualos -- npm run dev",
"build:cli": "lerna exec --no-prefix --scope casualos -- npm run 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: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"
},
"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",
"@types/arcgis-js-api": "4.24.0",
"@types/base64-js": "^1.3.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/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": "^29.5.0",
"@types/jsonwebtoken": "^9.0.5",
"@types/lodash": "^4.14.176",
"@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/redis": "^2.8.32",
"@types/sshpk": "^1.10.7",
"@types/stripe-v3": "^3.1.7",
"@types/three": "^0.140.0",
"@types/uuid": "10.0.0",
"@types/vue-color": "^2.4.3",
"@types/ws": "^8.5.12",
"browserslist": ">=4.16.5",
"chai": "^4.2.0",
"chalk": "4.1.2",
"chokidar": "3.5.2",
"concurrently": "8.2.2",
"del": "7.0.0",
"esbuild": "^0.19.8",
"esbuild-copy-static-files": "0.1.0",
"eslint": "^9.22.0",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-vue": "^10.0.0",
"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": "^7.0.4",
"jake": "10.8.5",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-environment-node": "^29.5.0",
"jest-html-reporter": "^3.7.1",
"jest-raw-loader": "1.0.1",
"js-yaml": "^3.13.1",
"jszip": "3.10.1",
"lerna": "8.0.0",
"lint-staged": "15.5.0",
"lodash": "4.17.21",
"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",
"ts-jest": "29.0.5",
"typescript": "^5.0.2",
"typescript-eslint": "^8.26.1",
"unified": "11.0.4",
"vue-template-compiler": "^2.6.14",
"wait-on": "7"
},
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"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"
},
"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",
"acorn-typescript@1.4.13": "patches/acorn-typescript@1.4.13.patch",
"deno-vm@0.12.0": "patches/deno-vm@0.12.0.patch",
"eslint-plugin-header@3.1.1": "patches/eslint-plugin-header@3.1.1.patch"
}
},
"packageManager": "pnpm@8.11.0",
"madge": {
"detectiveOptions": {
"ts": {
"skipTypeImports": true
}
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,vue}": [
"eslint --fix"
]
}
}