Files
TermiNexus 0fdf80778e feat: 新增包详情页路由与 README markdown 渲染
接入 vue-router(/ 首页、/project/:name 详情页、catch-all 回首页),新增 ProjectView:包信息头、README 渲染、依赖列表、版本历史与安装命令复制。

新增 markdown.ts(markdown-it + DOMPurify,外链加 target/rel)与 api/venom.ts 数据客户端;TheHeader 品牌改为 RouterLink,i18n 扩充 project 词条。
2026-10-07 19:35:55 +08:00

29 lines
700 B
JSON

{
"name": "venom-website",
"private": true,
"version": "0.1.0",
"type": "module",
"description": "Venom official website - the package manager for the Viper language (venom.gvsds.com)",
"scripts": {
"dev": "vite",
"build": "vue-tsc -b && vite build",
"preview": "vite preview"
},
"dependencies": {
"dompurify": "^3.4.16",
"lenis": "^1.3.26",
"markdown-it": "^15.0.2",
"vue": "^3.5.40",
"vue-router": "^5.3.1"
},
"devDependencies": {
"@types/markdown-it": "^14.2.0",
"@types/node": "^24.13.3",
"@vitejs/plugin-vue": "^6.0.8",
"@vue/tsconfig": "^0.9.1",
"typescript": "~6.0.2",
"vite": "^8.2.0",
"vue-tsc": "^3.3.8"
}
}