package.json•1.49 kB
{
"name": "hn-mcp-server",
"version": "1.1.0",
"mcpName": "io.github.wei/hn-mcp-server",
"description": "Model Context Protocol server for HackerNews API access",
"type": "module",
"main": "dist/index.js",
"bin": {
"hn-mcp-server": "dist/index.js"
},
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest run --ui",
"lint": "biome lint .",
"lint:fix": "biome lint --fix .",
"format": "biome format .",
"format:fix": "biome format --write .",
"clean": "rm -rf dist coverage",
"dev": "tsc --watch",
"prepublishOnly": "npm run clean && npm run build && npm test && npm run lint && npm run format",
"publish:mcp": "mcp-publisher publish"
},
"keywords": ["mcp", "model-context-protocol", "hackernews", "hn", "api", "llm", "ai"],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/wei/hn-mcp-server.git"
},
"bugs": {
"url": "https://github.com/wei/hn-mcp-server/issues"
},
"homepage": "https://github.com/wei/hn-mcp-server#readme",
"files": ["dist", "README.md", "LICENSE"],
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.9.0",
"@vitest/coverage-v8": "^2.1.4",
"@vitest/ui": "^2.1.4",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
}
}