|
59 | 59 | "dist" |
60 | 60 | ], |
61 | 61 | "scripts": { |
62 | | - "fetch:spec-types": "curl -o spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts", |
| 62 | + "fetch:spec-types": "curl -o ./src/spec.types.ts https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/refs/heads/main/schema/draft/schema.ts", |
| 63 | + "typecheck": "tsgo --noEmit", |
63 | 64 | "build": "npm run build:esm && npm run build:cjs", |
64 | 65 | "build:esm": "mkdir -p dist/esm && echo '{\"type\": \"module\"}' > dist/esm/package.json && tsc -p tsconfig.prod.json", |
65 | 66 | "build:esm:w": "npm run build:esm -- -w", |
|
69 | 70 | "prepack": "npm run build:esm && npm run build:cjs", |
70 | 71 | "lint": "eslint src/ && prettier --check .", |
71 | 72 | "lint:fix": "eslint src/ --fix && prettier --write .", |
| 73 | + "check": "npm run fetch:spec-types && npm run typecheck && npm run lint", |
72 | 74 | "test": "npm run fetch:spec-types && jest", |
73 | 75 | "start": "npm run server", |
74 | 76 | "server": "tsx watch --clear-screen=false scripts/cli.ts server", |
|
111 | 113 | "@types/node": "^22.0.2", |
112 | 114 | "@types/supertest": "^6.0.2", |
113 | 115 | "@types/ws": "^8.5.12", |
| 116 | + "@typescript/native-preview": "^7.0.0-dev.20251103.1", |
114 | 117 | "eslint": "^9.8.0", |
115 | 118 | "eslint-config-prettier": "^10.1.8", |
116 | 119 | "jest": "^29.7.0", |
|
0 commit comments