typescript-sdk/package.json
David Soria Parra 02e421c1f1
Initial import
2024-09-24 21:53:34 +01:00

58 lines
1.4 KiB
JSON

{
"name": "mcp-typescript",
"version": "0.1.0",
"description": "Model Context Protocol implementation for TypeScript",
"private": true,
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./*": "./dist/*"
},
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"lint": "eslint src/",
"test": "jest",
"update-spec": "git subtree pull --prefix=packages/mcp-spec https://github.com/modelcontextprotocol/specification.git main --squash",
"regenerate": "cp packages/mcp-spec/schema/schema.ts src/types/schema.ts",
"start": "yarn server",
"server": "tsx watch --clear-screen=false src/cli.ts server",
"client": "tsx src/cli.ts client"
},
"dependencies": {
"content-type": "^1.0.5",
"raw-body": "^3.0.0"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
"@types/content-type": "^1.1.8",
"@types/eslint__js": "^8.42.3",
"@types/eventsource": "^1.1.15",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^22.0.2",
"@types/ws": "^8.5.12",
"eslint": "^9.8.0",
"eventsource": "^2.0.2",
"express": "^4.19.2",
"jest": "^29.7.0",
"ts-jest": "^29.2.4",
"tsx": "^4.16.5",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0",
"ws": "^8.18.0"
},
"resolutions": {
"strip-ansi": "6.0.1"
}
}