package.json•1.16 kB
{
"name": "website-scraper",
"version": "1.0.0",
"description": "Command-line tool and MCP server for scraping websites and converting HTML to Markdown",
"main": "build/index.js",
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"bin": {
"scrape": "./build/cli.js"
},
"scripts": {
"build": "tsc && node -e \"require('fs').chmodSync('build/cli.js', '755')\"",
"start": "npm run build && node build/index.js",
"start:cli": "npm run build && node build/cli.js",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch"
},
"files": [
"build"
],
"dependencies": {
"@modelcontextprotocol/sdk": "^1.6.1",
"@mozilla/readability": "^0.6.0",
"jsdom": "^26.0.0",
"node-html-markdown": "^1.3.0",
"turndown": "^7.2.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.13.9",
"@types/turndown": "^5.0.5",
"jest": "^29.7.0",
"ts-jest": "^29.2.6",
"typescript": "^5.8.2"
}
}