{
	"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": "concurrently \"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": {
		"@types/command-exists": "^1.2.3",
		"@types/range-parser": "^1.2.7",
		"@types/tmp": "^0.2.6",
		"bun-types": "latest",
		"concurrently": "^9.1.2"
	},
	"dependencies": {
		/*elysiajs bug from 1.3.0: headers get appended instead of overwritten*/
		"elysia": "1.2.25",
		"@elysiajs/static": "1.2.0",
		"command-exists": "^1.2.9",
		"file-type": "^20.0.1",
		"music-metadata": "^11.2.0",
		"music-server-shared": "file:../shared",
		"range-parser": "^1.2.1",
		"tmp": "^0.2.3"
	},
	"module": "src/index.js"
}
