* Remove bin folder, leaving cli, server, and client * This fixes #315 * In .gitignore, - add .idea - remove bin/build * Remove bin and bin/cli.js * Remove bin/scripts/copy-cli.js * Refactor/move bin/scripts to cli/scripts * Refactor/move bin/src/index.ts to cli/src/cli.ts * Refactor/renamed client/bin/cli.js to client/bin/client.js * In .github/workflows/main.yml, - add run of cli tests * In cli/pacakge.json - change main and bin/mcp-inspector-cli properties to build/cli.js * In client/package.json, - change bin/mcp-inspector-client properties to build/start.js * In pacakge.json - change bin/mcp-inspector property to ./cli/build/cli.js - removed bin and cli/bin from files list - removed @modelcontextprotocol/inspector-bin dependency - rearranged and corrected scripts
59 lines
1.9 KiB
JSON
59 lines
1.9 KiB
JSON
{
|
|
"name": "@modelcontextprotocol/inspector",
|
|
"version": "0.9.0",
|
|
"description": "Model Context Protocol inspector",
|
|
"license": "MIT",
|
|
"author": "Anthropic, PBC (https://anthropic.com)",
|
|
"homepage": "https://modelcontextprotocol.io",
|
|
"bugs": "https://github.com/modelcontextprotocol/inspector/issues",
|
|
"type": "module",
|
|
"bin": {
|
|
"mcp-inspector": "./cli/build/cli.js"
|
|
},
|
|
"files": [
|
|
"client/bin",
|
|
"client/dist",
|
|
"server/build",
|
|
"cli/build"
|
|
],
|
|
"workspaces": [
|
|
"client",
|
|
"server",
|
|
"cli"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build-server && npm run build-client && npm run build-cli",
|
|
"build-server": "cd server && npm run build",
|
|
"build-client": "cd client && npm run build",
|
|
"build-cli": "cd cli && npm run build",
|
|
"dev": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev\"",
|
|
"dev:windows": "concurrently \"cd client && npm run dev\" \"cd server && npm run dev:windows\"",
|
|
"start": "node client/bin/start.js",
|
|
"start-server": "cd server && npm run start",
|
|
"start-client": "cd client && npm run preview",
|
|
"test": "npm run prettier-check && cd client && npm test",
|
|
"test-cli": "cd cli && npm run test",
|
|
"prettier-fix": "prettier --write .",
|
|
"prettier-check": "prettier --check .",
|
|
"publish-all": "npm publish --workspaces --access public && npm publish --access public"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/inspector-cli": "^0.9.0",
|
|
"@modelcontextprotocol/inspector-client": "^0.9.0",
|
|
"@modelcontextprotocol/inspector-server": "^0.9.0",
|
|
"@modelcontextprotocol/sdk": "^1.9.0",
|
|
"concurrently": "^9.0.1",
|
|
"shell-quote": "^1.8.2",
|
|
"spawn-rx": "^5.1.2",
|
|
"ts-node": "^10.9.2",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^22.7.5",
|
|
"@types/shell-quote": "^1.7.5",
|
|
"prettier": "3.3.3",
|
|
"typescript": "^5.4.2"
|
|
}
|
|
}
|