ts-mcp-template/package.json
Jax 94a041d502 chore: migrate template build to tsup
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-03-13 18:37:42 +08:00

59 lines
1.2 KiB
JSON

{
"name": "mcp-typescript-template",
"version": "0.1.0",
"description": "Reusable Node.js + TypeScript template for MCP servers.",
"license": "MIT",
"keywords": [
"mcp",
"model-context-protocol",
"typescript",
"template"
],
"files": [
"README.md",
"scripts",
"src",
"tests",
"dist",
"package.json",
"tsconfig.json",
"tsup.config.ts",
"vitest.config.ts"
],
"type": "module",
"packageManager": "pnpm@10.32.1",
"bin": {
"mcp-typescript-template": "./dist/stdio.js"
},
"scripts": {
"dev": "tsx src/index.ts",
"dev:http": "tsx src/http.ts",
"build": "tsup",
"prepack": "pnpm build",
"test:publish": "node ./scripts/verify-publish-bin.mjs",
"typecheck": "tsc --noEmit",
"test": "vitest run"
},
"mcp": {
"stdio": {
"developmentOnly": true,
"command": "node",
"args": [
"./node_modules/tsx/dist/cli.mjs",
"src/stdio.ts"
]
}
},
"devDependencies": {
"@types/node": "^24.0.0",
"tsup": "^8.5.1",
"tsx": "^4.20.0",
"typescript": "^5.8.0",
"vitest": "^4.0.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"zod": "^4.1.11"
}
}