- 实现网页内容提取并导出为Markdown文件 - 支持自动识别和手动选择区域两种提取模式 - 使用Mozilla Readability算法提取页面主要内容 - 使用Turndown将HTML转换为Markdown - React + Vite + TypeScript 技术栈 - 支持图片URL保留、复制到剪贴板、直接下载 Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
998 B
JSON
40 lines
998 B
JSON
{
|
|
"name": "readmd",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0",
|
|
"turndown": "^7.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@crxjs/vite-plugin": "^2.3.0",
|
|
"@eslint/js": "^9.39.1",
|
|
"@mozilla/readability": "^0.6.0",
|
|
"@tailwindcss/postcss": "^4.1.18",
|
|
"@types/chrome": "^0.1.36",
|
|
"@types/node": "^24.10.1",
|
|
"@types/react": "^19.2.5",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/turndown": "^5.0.6",
|
|
"@vitejs/plugin-react": "^5.1.1",
|
|
"autoprefixer": "^10.4.23",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
"globals": "^16.5.0",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "~5.9.3",
|
|
"typescript-eslint": "^8.46.4",
|
|
"vite": "^7.2.4"
|
|
}
|
|
}
|