{
	"name": "music-server-backend",
	"version": "1.0.0",
	"license": "AGPL-3.0-only",
	"scripts": {
		"clean": "rm -rf dist node_modules ../webclient/dist ../webclient/node_modules",
		"postinstall": "bun install --cwd ../webclient",
		"build-watch:frontend": "cd ../webclient && bun run build -c vite.watch.config.ts --watch --emptyOutDir --outDir ../server/dist",
		"start": "bun run --watch src/index.ts --serve dist",
		"dev": "bun run build-watch:frontend & sleep 1 && bun run start",
		"build:frontend": "cd ../webclient && bun run build -c vite.compile.config.ts --emptyOutDir --outDir ../server/dist",
		"compile": "bun run build:frontend && bun build src/index.ts --compile --production --outfile dist/server"
	},
	"devDependencies": {
		"@biomejs/biome": "^2.5.4",
		"bun-types": "latest"
	},
	"dependencies": {
		"elysia": "^1.4.29",
		"@elysiajs/static": "^1.4.10",
		"file-type": "^22.0.1",
		"music-metadata": "^11.14.0",
		"music-server-shared": "file:../shared"
	}
}
