Files
web/client/package.json
T
xuyueandClaude Opus 5.5 bd84e3f8d1
Deploy / deploy (build, debian, 22) (push) Canceled after 0s
build: 恢复前端类型检查
vue-tsc 不支持 TypeScript 7,前端单独用 TS 5.9 + vue-tsc(服务端仍是 TS 7),
根目录 bun run typecheck 同时检查两边。修掉前端原有的 8 个类型错误(未使用的变量、类型标注)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 22:03:51 +08:00

46 lines
1.2 KiB
JSON

{
"name": "webpreview-client",
"private": true,
"version": "0.3.0",
"type": "module",
"scripts": {
"dev": "bun --bun vite",
"build": "bun --bun vite build",
"build:staging": "bun --bun vite build --mode staging",
"fmt": "bun fmt src/",
"typecheck": "vue-tsc --noEmit -p tsconfig.app.json"
},
"dependencies": {
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-html": "^6.4.12",
"@codemirror/lang-javascript": "^6.2.5",
"@codemirror/view": "^6.41.1",
"@vueuse/core": "^15.0.0",
"axios": "^1.20.0",
"codemirror": "^6.0.2",
"copy-text-to-clipboard": "^3.2.2",
"github-markdown-css": "^5.9.0",
"highlight.js": "^11.12.0",
"marked": "^18.1.1",
"marked-alert": "^2.1.2",
"marked-code-preview": "^1.3.7",
"marked-highlight": "^2.2.4",
"md-editor-v3": "^7.1.0",
"naive-ui": "^2.45.3",
"vue": "^3.5.44",
"vue-codemirror": "^6.1.1",
"vue-router": "^5.4.0"
},
"devDependencies": {
"@iconify/vue": "^5.0.4",
"@vitejs/plugin-legacy": "^8.2.3",
"@vitejs/plugin-vue": "^6.0.10",
"@vue/tsconfig": "^0.9.1",
"prettier": "^3.9.10",
"typescript": "~5.9.3",
"unplugin-vue-components": "^32.1.0",
"vite": "^8.3.5",
"vue-tsc": "^3.3.13"
}
}