Makes local dev work on Windows: cross-env for the server dev port, pnpm --parallel to run server+web together (replacing the POSIX-only '&'), PowerShell setup docs, engines widened to Node >=20, and a Node 20 + 24 CI matrix. CI keeps a stable required 'Build & test' status via an aggregate gate job so the matrix rename doesn't drop the context the main ruleset requires. Co-authored-by: BadAtCaptchas <2359196+BadAtCaptchas@users.noreply.github.com> Co-authored-by: Jannis Braun <151788261+TheZwiss@users.noreply.github.com>
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "@backspace/server",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"license": "AGPL-3.0-only",
|
|
"author": "Jannis Braun",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "cross-env PORT=3005 tsx watch src/index.ts",
|
|
"start": "node --import tsx/esm src/index.ts",
|
|
"build": "tsc",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:federation-identity": "vitest run test/federation-identity-deletion.test.ts",
|
|
"test:watch": "vitest",
|
|
"db:generate": "drizzle-kit generate"
|
|
},
|
|
"dependencies": {
|
|
"@backspace/shared": "workspace:*",
|
|
"@fastify/cors": "^9.0.1",
|
|
"@fastify/multipart": "^8.3.0",
|
|
"@fastify/rate-limit": "^9.1.0",
|
|
"@fastify/static": "^7.0.4",
|
|
"@fastify/websocket": "^10.0.1",
|
|
"@tus/file-store": "^1.5.1",
|
|
"@tus/server": "^1.10.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-sqlite3": "^11.3.0",
|
|
"cheerio": "^1.0.0",
|
|
"dotenv": "^16.4.5",
|
|
"drizzle-orm": "^0.33.0",
|
|
"fastify": "^4.28.1",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"livekit-server-sdk": "^2.6.1",
|
|
"sharp": "^0.33.0",
|
|
"tsx": "^4.16.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/better-sqlite3": "^7.6.11",
|
|
"@types/jsonwebtoken": "^9.0.6",
|
|
"@types/node": "^20.14.0",
|
|
"@types/ws": "^8.18.1",
|
|
"cross-env": "^7.0.3",
|
|
"drizzle-kit": "^0.24.0",
|
|
"typescript": "^5.4.0",
|
|
"vitest": "^4.0.18",
|
|
"ws": "^8.20.0"
|
|
}
|
|
}
|