Add CLI entry point with Commander.js, config management (~/.mcpctl/config.json with Zod validation), output formatters (table/json/yaml), config and status commands with dependency injection for testing. Fix sanitizeString regex ordering. 67 tests passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
664 B
JSON
32 lines
664 B
JSON
{
|
|
"name": "@mcpctl/cli",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"bin": {
|
|
"mcpctl": "./dist/index.js"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "tsc --build",
|
|
"clean": "rimraf dist",
|
|
"dev": "tsx src/index.ts",
|
|
"test": "vitest",
|
|
"test:run": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@mcpctl/db": "workspace:*",
|
|
"@mcpctl/shared": "workspace:*",
|
|
"chalk": "^5.4.0",
|
|
"commander": "^13.0.0",
|
|
"inquirer": "^12.0.0",
|
|
"js-yaml": "^4.1.0",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/node": "^25.3.0"
|
|
}
|
|
}
|