mirror of
https://github.com/YuleBest/FontMM.git
synced 2026-12-04 03:11:48 +08:00
- 新架构: 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
15 lines
502 B
JSON
15 lines
502 B
JSON
{
|
|
"name": "fontmm",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "pnpm -C web dev",
|
|
"build": "pnpm -C web build && bash dev/cd.sh",
|
|
"build:only-web": "pnpm -C web build && bash dev/webzip.sh",
|
|
"lint": "pnpm -C web lint",
|
|
"fmt": "pnpm -C web fmt",
|
|
"fmt:check": "pnpm -C web fmt:check",
|
|
"type-check": "pnpm -C web type-check",
|
|
"shellcheck": "find src -name '*.sh' -print0 | xargs -0 shellcheck",
|
|
"shfmt": "find src -name '*.sh' -print0 | xargs -0 shfmt -i 4 -w -d"
|
|
}
|
|
} |