-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.49 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
{
"name": "0xChess",
"private": true,
"version": "0.1.0",
"scripts": {
"client:start": "bun x --bun vite -c client/vite.config.ts",
"client:build": "bun x --bun tsc --project client/tsconfig.json && bun x --bun vite build -c client/vite.config.ts",
"client:build-embed": "bun x --bun tsc --project client/tsconfig.json && bun x --bun vite build --mode embed -c client/vite.config.ts",
"client:preview": "bun x --bun vite preview -c client/vite.config.ts",
"server:start": "bun --bun --hot server/main.ts",
"server:build": "bun --bun build server/main.ts --outdir ./build --target=bun --minify-whitespace --minify-identifiers --minify-syntax && mv ./build/main.js ./build/server.js",
"start": "concurrently 'bun:client:start' 'bun:server:start'",
"build": "concurrently 'bun:client:build' 'bun:server:build'",
"initDB": "touch games.db && bun run server/db/scripts/execute.ts"
},
"dependencies": {
"@preact/signals": "^1.1.3",
"phaser": "^3.60.0",
"preact": "^10.13.1",
"ws": "^8.13.0"
},
"devDependencies": {
"@preact/preset-vite": "^2.5.0",
"@types/bun": "^1.0.8",
"@types/ws": "^8.5.4",
"concurrently": "^8.0.1",
"prettier": "^3.0.3",
"sass": "^1.62.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6",
"vite": "^4.3.2",
"vite-plugin-environment": "^1.1.3",
"vite-tsconfig-paths": "^4.2.0"
}
}