package.json
| 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 | "build-watch:frontend": "cd ../webclient && bun run build -c vite.watch.config.ts --watch --emptyOutDir --outDir ../server/dist", |
| 9 | "start": "bun run --watch src/index.ts --serve dist", |
| 10 | "dev": "concurrently \"bun run build-watch:frontend\" \"sleep 1 && bun run start\"", |
| 11 | "build:frontend": "cd ../webclient && bun run build -c vite.compile.config.ts --emptyOutDir --outDir ../server/dist", |
| 12 | "compile": "bun run build:frontend && bun build src/index.ts --compile --production --outfile dist/server" |
| 13 | }, |
| 14 | "devDependencies": { |
| 15 | "@biomejs/biome": "^2.5.4", |
| 16 | "@types/command-exists": "^1.2.3", |
| 17 | "@types/tmp": "^0.2.6", |
| 18 | "bun-types": "latest", |
| 19 | "concurrently": "^10.0.3" |
| 20 | }, |
| 21 | "dependencies": { |
| 22 | "elysia": "^1.4.29", |
| 23 | "@elysiajs/static": "^1.4.10", |
| 24 | "command-exists": "^1.2.9", |
| 25 | "file-type": "^22.0.1", |
| 26 | "music-metadata": "^11.14.0", |
| 27 | "music-server-shared": "file:../shared", |
| 28 | "tmp": "^0.2.7" |
| 29 | } |
| 30 | } |
| 31 |