Files
FontMM/web/package.json
T
YuleBest 01923c7385 feat: v26 重构 — WebUI、双版本打包与字体名称解析
- 新架构: src/ 模块源 + web/ WebUI (Vite + TS + Material Web MD3)
- WebUI: 字体槽位/应用、字体测试(字重/可变字体/字号)、关于页、底部导航、edge-to-edge、跟随系统主题
- 打开 WebUI 时用 opentype.js 解析 FONT/ 字体名称填充卡片
- 打包: preplace/template 两版 + build:only-web (webroot.zip)
- 工具链: oxlint/oxfmt/type-check/shellcheck; 移除旧 template/ v1 结构与 CI
- 新增 MIT LICENSE
2026-08-03 02:58:17 +08:00

29 lines
591 B
JSON

{
"name": "fontmm-webui",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "oxlint",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"type-check": "tsc --noEmit"
},
"dependencies": {
"@material/web": "^2.4.1",
"kernelsu": "^3.0.2",
"material-symbols": "^0.28.0",
"opentype.js": "^2.0.0"
},
"devDependencies": {
"oxfmt": "^0.61.0",
"oxlint": "^1.76.0",
"sass": "^1.86.0",
"typescript": "^5.8.0",
"vite": "^6.0.11"
}
}