Bun workspaces + 根 tsconfig、开发用 PostgreSQL compose、.env.example(端口 18456、SK_KEY_ENCRYPTION_SECRET 等)。
17 lines
421 B
JSON
17 lines
421 B
JSON
{
|
|
"name": "new-api-key-usage",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": ["apps/*", "packages/*"],
|
|
"scripts": {
|
|
"test": "bun test",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"dev:server": "bun --hot --env-file=.env apps/server/src/index.ts",
|
|
"dev:web": "bun --filter @new-api-key-usage/web dev"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.4.2",
|
|
"typescript": "^7.0.2"
|
|
}
|
|
}
|