113 lines
3.0 KiB
JSON
113 lines
3.0 KiB
JSON
{
|
|
"name": "mcporter",
|
|
"version": "0.9.0",
|
|
"description": "TypeScript runtime and CLI for connecting to configured Model Context Protocol servers.",
|
|
"keywords": [
|
|
"cli",
|
|
"mcp",
|
|
"model-context-protocol",
|
|
"sweetistics"
|
|
],
|
|
"license": "MIT",
|
|
"author": "Sweetistics",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/steipete/mcporter"
|
|
},
|
|
"bin": {
|
|
"mcporter": "dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./cli": {
|
|
"import": "./dist/cli.js",
|
|
"types": "./dist/cli.d.ts"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"mcporter": "tsx src/cli.ts",
|
|
"mcp": "pnpm exec tsx src/cli.ts",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"build:bun": "bun scripts/build-bun.ts",
|
|
"check": "pnpm format:check && pnpm lint:oxlint && pnpm typecheck",
|
|
"format": "oxfmt .",
|
|
"format:check": "oxfmt --check .",
|
|
"lint": "pnpm check",
|
|
"lint:oxlint": "oxlint --type-aware --tsconfig tsconfig.json --report-unused-disable-directives --deny-warnings --max-warnings=0",
|
|
"typecheck": "tsgo --project tsconfig.json --noEmit",
|
|
"test": "cross-env MCPORTER_TEST_REPORTER=quiet pnpm test:verbose",
|
|
"test:quiet": "cross-env MCPORTER_TEST_REPORTER=quiet pnpm test:verbose",
|
|
"test:verbose": "node scripts/test-runner.js",
|
|
"test:live": "MCP_LIVE_TESTS=1 vitest run tests/live",
|
|
"clean": "rimraf dist",
|
|
"dev": "tsc -w -p tsconfig.build.json",
|
|
"prepublishOnly": "pnpm check && pnpm test && pnpm build",
|
|
"docs:list": "pnpm exec tsx scripts/docs-list.ts",
|
|
"generate:schema": "tsx scripts/generate-json-schema.ts",
|
|
"mcporter:list": "pnpm exec tsx src/cli.ts list",
|
|
"mcporter:call": "pnpm exec tsx src/cli.ts call"
|
|
},
|
|
"dependencies": {
|
|
"@iarna/toml": "^2.2.5",
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"acorn": "^8.16.0",
|
|
"commander": "^14.0.3",
|
|
"es-toolkit": "^1.45.1",
|
|
"jsonc-parser": "^3.3.1",
|
|
"ora": "^9.3.0",
|
|
"rolldown": "1.0.0-rc.16",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/estree": "^1.0.8",
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^25.6.0",
|
|
"@typescript/native-preview": "7.0.0-dev.20260418.1",
|
|
"@vitest/coverage-v8": "^4.1.4",
|
|
"bun-types": "^1.3.12",
|
|
"cross-env": "^10.1.0",
|
|
"express": "^5.2.1",
|
|
"oxfmt": "^0.45.0",
|
|
"oxlint": "^1.60.0",
|
|
"oxlint-tsgolint": "^0.21.1",
|
|
"rimraf": "^6.1.3",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.0.8",
|
|
"vitest": "^4.1.4"
|
|
},
|
|
"devEngines": {
|
|
"runtime": [
|
|
{
|
|
"name": "node",
|
|
"version": ">=20"
|
|
}
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=20.11.0"
|
|
},
|
|
"packageManager": "pnpm@10.22.0",
|
|
"pnpm": {
|
|
"overrides": {
|
|
"body-parser": "2.2.1",
|
|
"vite": "8.0.8"
|
|
}
|
|
}
|
|
}
|