Files
OJ2/apps/web/package.json
T
xuyueandClaude Opus 5.5 9e2217e09d
Deploy / deploy (push) Canceled after 0s
refactor(后台富文本): 编辑器从 wangEditor 换成 Tiptap,老题面的图片尺寸、缩进、颜色打开再保存都不丢
拿库里全部 3384 条题面 / 提示 / 公告 / 比赛说明做过往返比对,补上图片 style、base64 图片、
段落缩进三处后文字和格式都对得上。工具栏照画布做成一行浅灰小图标,四套档位不变,
加了行内代码、光标在表格里出加删行列。表格格子里的段落在学生端不再把行撑高。
编辑器 JS 638 kB → 455 kB,wangEditor 的 39 kB 样式不用了;polyfill 清单重新审过,
去掉只有 wangEditor 用到的 web.immediate。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:20:13 +08:00

69 lines
2.0 KiB
JSON

{
"name": "@oj2/web",
"version": "1.9.0",
"type": "module",
"scripts": {
"dev": "vite",
"start": "vite",
"build": "vite build",
"build:staging": "vite build --mode staging",
"build:test": "vite build --mode test",
"type-check": "vue-tsc --noEmit -p tsconfig.app.json"
},
"dependencies": {
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/commands": "^6.10.4",
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-markdown": "^6.5.2",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-sql": "^6.10.0",
"@codemirror/language": "^6.13.1",
"@codemirror/state": "^6.7.6",
"@codemirror/view": "^6.43.14",
"@lezer/highlight": "^1.2.5",
"@oj2/contract": "workspace:*",
"@tiptap/core": "3.32.0",
"@tiptap/extension-image": "3.32.0",
"@tiptap/extension-table": "3.32.0",
"@tiptap/extension-text-align": "3.32.0",
"@tiptap/extension-text-style": "3.32.0",
"@tiptap/pm": "3.32.0",
"@tiptap/starter-kit": "3.32.0",
"@tiptap/vue-3": "3.32.0",
"@vueuse/core": "^15.0.0",
"@vueuse/router": "^15.0.0",
"canvas-confetti": "^1.9.4",
"chart.js": "^4.5.1",
"chartjs-chart-wordcloud": "^4.4.5",
"codemirror": "^6.0.2",
"copy-text-to-clipboard": "^3.2.2",
"fflate": "^0.8.3",
"lib0": "0.2.119",
"markdown-it": "^14.3.0",
"naive-ui": "^2.45.3",
"normalize.css": "^8.0.1",
"pele": "1.6.0",
"pinia": "^4.0.3",
"pinyin-pro": "^3.29.5",
"vue": "^3.5.43",
"vue-chartjs": "^5.3.4",
"vue-router": "^5.4.0",
"y-codemirror.next": "^0.3.6",
"y-protocols": "1.0.7",
"yjs": "^13.6.33"
},
"devDependencies": {
"@iconify/vue": "^5.0.3",
"@types/canvas-confetti": "^1.9.0",
"@types/markdown-it": "^14.1.2",
"@types/node": "^26.6.5",
"@vitejs/plugin-legacy": "^8.2.3",
"@vitejs/plugin-vue": "^6.0.10",
"@vue/tsconfig": "^0.9.1",
"unplugin-auto-import": "^21.1.0",
"unplugin-vue-components": "^32.1.0",
"vite": "^8.3.4",
"vue-tsc": "^3.3.13"
}
}