Files
crawlab/mcp/package.json
Marvin Zhang 5837472de5 fix: update API client constructor and improve error handling for missing API token and URL
chore: update package version to 0.1.1-dev.6 and adjust dependencies in pnpm-lock.yaml
refactor: change import paths to relative in tools.ts for consistency
2025-06-20 15:55:50 +08:00

59 lines
2.0 KiB
JSON

{
"name": "@crawlab/mcp",
"version": "0.1.1-dev.6",
"description": "MCP server for interacting with Crawlab web crawler management platform",
"license": "MIT",
"author": "Crawlab Team",
"type": "module",
"publishConfig": {
"access": "public"
},
"bin": {
"mcp-server-crawlab": "dist/index.js"
},
"files": [
"dist"
],
"scripts": {
"prebuild": "node -p \"'export const packageVersion = ' + JSON.stringify(require('./package.json').version) + ';\\r'\" > src/version.ts",
"build": "tsc && shx chmod +x dist/*.js",
"prepare": "npm run build",
"watch": "tsc --watch",
"inspect": "npx @modelcontextprotocol/inspector node dist/index.js",
"start": "node dist/index.js",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"clean": "shx rm -rf dist",
"test": "jest --passWithNoTests",
"version:dev": "npm version prerelease --preid=dev",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"publish:dev": "npm run version:dev && npm publish --tag dev",
"publish:latest": "npm publish",
"release:dev": "npm run build && npm run publish:dev",
"release:prod": "npm run build && npm run version:patch && npm run publish:latest"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.2",
"axios": "^1.6.7",
"tailwindcss": "^4.1.10",
"zod": "^3.25.63",
"zod-to-json-schema": "^3.24.5"
},
"devDependencies": {
"@modelcontextprotocol/inspector": "^0.14.0",
"@types/jest": "^29.5.14",
"@types/node": "^22",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"@typescript-eslint/parser": "^8.34.1",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"shx": "^0.4.0",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3"
},
"packageManager": "pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1"
}