* 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
28 lines
699 B
JSON
28 lines
699 B
JSON
{
|
|
"name": "@modelcontextprotocol/inspector-cli",
|
|
"version": "0.9.0",
|
|
"description": "CLI for the Model Context Protocol inspector",
|
|
"license": "MIT",
|
|
"author": "Anthropic, PBC (https://anthropic.com)",
|
|
"homepage": "https://modelcontextprotocol.io",
|
|
"bugs": "https://github.com/modelcontextprotocol/inspector/issues",
|
|
"main": "build/cli.js",
|
|
"type": "module",
|
|
"bin": {
|
|
"mcp-inspector-cli": "build/cli.js"
|
|
},
|
|
"files": [
|
|
"build"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"postbuild": "node scripts/make-executable.js",
|
|
"test": "node scripts/cli-tests.js"
|
|
},
|
|
"devDependencies": {},
|
|
"dependencies": {
|
|
"commander": "^13.1.0",
|
|
"spawn-rx": "^5.1.2"
|
|
}
|
|
}
|