diff --git a/README.md b/README.md index 8168671..c52b791 100644 --- a/README.md +++ b/README.md @@ -189,15 +189,9 @@ npm run dev:break #### Build & Production ```bash -# Build TypeScript to JavaScript +# Build TypeScript to JavaScript (builds both servers) npm run build -# Build authorization server -npm run build:auth-server - -# Build everything -npm run build:all - # Run production server npm start diff --git a/package.json b/package.json index fe2207b..eb59e6f 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,7 @@ "dev:separate": "AUTH_MODE=separate AUTH_SERVER_URL=http://localhost:3001 npm run dev", "dev:auth-server": "AUTH_SERVER_PORT=3001 tsx watch --inspect auth-server/index.ts", "dev:with-separate-auth": "concurrently -n \"AUTH,MCP\" -c \"yellow,cyan\" \"npm run dev:auth-server\" \"npm run dev:separate\"", - "build": "tsc && npm run copy-static", - "build:auth-server": "tsc -p auth-server/tsconfig.json", - "build:all": "tsc && tsc -p auth-server/tsconfig.json && npm run copy-static", + "build": "tsc && tsc -p auth-server/tsconfig.json && npm run copy-static", "copy-static": "mkdir -p dist/static && cp -r src/static/* dist/static/", "lint": "eslint src/ auth-server/", "test": "NODE_OPTIONS=--experimental-vm-modules jest",