package.json
⎇
Raw
1{
2 "name": "music-server-backend",
3 "version": "1.0.0",
4 "license": "AGPL-3.0-only",
5 "scripts": {
6 "clean": "rm -rf dist node_modules ../webclient/dist ../webclient/node_modules",
7 "postinstall": "bun install --cwd ../webclient",
8 //TODO: use native bun bundler instead of vite once supported (waiting for a solidjs plugin)
9 "build-watch:frontend": "cd ../webclient && bun run build -c vite.watch.config.ts --watch --emptyOutDir --outDir ../server/dist",
10 "start": "bun run --watch src/index.ts --serve dist",
11 "dev": "concurrently \"bun run build-watch:frontend\" \"sleep 1 && bun run start\"",
12 "build:frontend": "cd ../webclient && bun run build -c vite.compile.config.ts --emptyOutDir --outDir ../server/dist",
13 "compile": "bun run build:frontend && bun build src/index.ts --compile --production --outfile dist/server"
14 },
15 "dependencies": {
16 "@elysiajs/static": "^1.2.0",
17 "elysia": "^1.2.0",
18 "file-type": "^20.0.1",
19 "music-server-shared": "file:../shared"
20 },
21 "devDependencies": {
22 "bun-types": "latest",
23 "concurrently": "^9.1.2"
24 },
25 "module": "src/index.js"
26}
27