package.json•3.14 kB
{
"name": "@sylphlab/pdf-reader-mcp",
"version": "0.3.24",
"description": "An MCP server providing tools to read PDF files.",
"type": "module",
"bin": {
"pdf-reader-mcp": "./dist/index.js"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=22.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sylphlab/pdf-reader-mcp.git"
},
"bugs": {
"url": "https://github.com/sylphlab/pdf-reader-mcp/issues"
},
"homepage": "https://github.com/sylphlab/pdf-reader-mcp#readme",
"author": "Sylph AI <contact@sylphlab.ai> (https://sylphlab.ai)",
"license": "MIT",
"keywords": [
"mcp",
"model-context-protocol",
"pdf",
"reader",
"parser",
"typescript",
"node",
"ai",
"agent",
"tool"
],
"scripts": {
"build": "tsc",
"watch": "tsc --watch",
"inspector": "npx @modelcontextprotocol/inspector dist/index.js",
"test": "vitest run",
"test:watch": "vitest watch",
"test:cov": "vitest run --coverage --reporter=junit --outputFile=test-report.junit.xml",
"lint": "eslint . --ext .ts,.tsx,.js,.cjs --cache",
"lint:fix": "eslint . --ext .ts,.tsx,.js,.cjs --fix --cache",
"format": "prettier --write . --cache",
"check-format": "prettier --check . --cache",
"validate": "npm run check-format && npm run lint && npm run test",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"start": "node dist/index.js",
"typecheck": "tsc --noEmit",
"benchmark": "vitest bench",
"clean": "rm -rf dist coverage",
"docs:api": "typedoc --entryPoints src/index.ts --tsconfig tsconfig.json --plugin typedoc-plugin-markdown --out docs/api --readme none",
"prepublishOnly": "pnpm run clean && pnpm run build",
"release": "standard-version",
"prepare": "husky"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.8.0",
"glob": "^11.0.1",
"pdfjs-dist": "^5.1.91",
"zod": "^3.24.2",
"zod-to-json-schema": "^3.24.5"
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint/js": "^9.24.0",
"@types/glob": "^8.1.0",
"@types/node": "^24.0.7",
"@typescript-eslint/eslint-plugin": "^8.29.0",
"@typescript-eslint/parser": "^8.29.0",
"@vitest/coverage-v8": "^3.1.1",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.1",
"husky": "^9.1.7",
"lint-staged": "^15.5.0",
"prettier": "^3.5.3",
"standard-version": "^9.5.0",
"typedoc": "^0.28.2",
"typedoc-plugin-markdown": "^4.6.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.29.0",
"vitepress": "^1.6.3",
"vitest": "^3.1.1",
"vue": "^3.5.13"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{ts,tsx,js,cjs}": [
"eslint --fix --cache",
"prettier --write --cache"
],
"*.{json,md,yaml,yml}": [
"prettier --write --cache"
]
}
}