|
3 | 3 | "version": "0.1.0", |
4 | 4 | "description": "Example MCP Server", |
5 | 5 | "type": "module", |
6 | | - "main": "dist/index.js", |
| 6 | + "main": "dist/src/index.js", |
7 | 7 | "scripts": { |
8 | | - "start": "node dist/index.js", |
| 8 | + "start": "node dist/src/index.js", |
9 | 9 | "start:auth-server": "node dist/auth-server/index.js", |
10 | 10 | "dev": "tsx watch --inspect src/index.ts", |
11 | 11 | "dev:break": "tsx --inspect-brk watch src/index.ts", |
12 | 12 | "dev:integrated": "AUTH_MODE=integrated npm run dev", |
13 | 13 | "dev:separate": "AUTH_MODE=separate AUTH_SERVER_URL=http://localhost:3001 npm run dev", |
14 | 14 | "dev:auth-server": "AUTH_SERVER_PORT=3001 tsx watch --inspect auth-server/index.ts", |
15 | 15 | "dev:with-separate-auth": "concurrently -n \"AUTH,MCP\" -c \"yellow,cyan\" \"npm run dev:auth-server\" \"npm run dev:separate\"", |
16 | | - "build": "tsc && tsc -p auth-server/tsconfig.json && npm run copy-static", |
17 | | - "copy-static": "mkdir -p dist/static && cp -r src/static/* dist/static/", |
| 16 | + "build": "tsc && npm run copy-static", |
| 17 | + "copy-static": "mkdir -p dist/src/static && cp -r src/static/* dist/src/static/", |
18 | 18 | "lint": "eslint src/ auth-server/", |
19 | 19 | "test": "NODE_OPTIONS=--experimental-vm-modules jest", |
20 | 20 | "test:integrated": "AUTH_MODE=integrated npm test", |
21 | 21 | "test:separate": "AUTH_MODE=separate npm test", |
22 | | - "test:e2e:integrated": "concurrently --kill-others --success first \"npm run dev:integrated\" \"sleep 4 && ./scripts/test-integrated-e2e.sh\"", |
23 | | - "test:e2e:separate": "concurrently --kill-others --success first \"npm run dev:with-separate-auth\" \"sleep 6 && ./scripts/test-separate-e2e.sh\"" |
| 22 | + "test:e2e:integrated": "./scripts/test-integrated-e2e.sh", |
| 23 | + "test:e2e:separate": "./scripts/test-separate-e2e.sh" |
24 | 24 | }, |
25 | 25 | "devDependencies": { |
26 | 26 | "@eslint/js": "^9.15.0", |
|
0 commit comments