package.json•1.27 kB
{
"name": "rime-mcp",
"version": "0.8.0",
"description": "ModelContextProtocol server for Rime text-to-speech API",
"type": "module",
"scripts": {
"make-executable": "node -e \"fs.chmodSync('dist/index.cjs', '755');\" --require fs",
"build": "esbuild index.ts --outfile=dist/index.cjs --bundle --platform=node --format=cjs --banner:js='#!/usr/bin/env node' && npm run make-executable",
"watch": "esbuild index.ts --outfile=dist/index.cjs --bundle --platform=node --format=cjs --banner:js='#!/usr/bin/env node' --watch",
"inspect": "npx @modelcontextprotocol/inspector node dist/index.cjs",
"dev": "concurrently \"npm run watch\" \"npm run inspect\"",
"prepublishOnly": "npm run build",
"stream": "tsx stream-audio.ts",
"demo": "tsx demo-long-text.ts"
},
"bin": {
"rime-mcp": "./dist/index.cjs"
},
"files": [
"dist"
],
"dependencies": {
"@modelcontextprotocol/sdk": "^1.8.0",
"node-fetch": "^3.3.2",
"tmp": "^0.2.1",
"ws": "^8.18.1"
},
"devDependencies": {
"@types/node": "^22.14.0",
"@types/tmp": "^0.2.6",
"@types/ws": "^8.5.10",
"concurrently": "^8.2.2",
"esbuild": "^0.24.0",
"prettier": "^3.4.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}