mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 12:34:22 +08:00
feat(构建): 添加生成关于页面内容的脚本并更新构建流程
添加 generate-about-content.mjs 脚本用于从 README.md 生成关于页面内容 修改构建命令在 vite 构建前执行生成脚本 更新版本号同步逻辑以包含 tauri 配置和 Cargo.toml 在设置页面新增关于内容展示功能
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
"homepage": "https://example.org",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"build": "node scripts/generate-about-content.mjs && vite build",
|
||||
"tauri": "tauri",
|
||||
"tauri:dev": "node scripts/tauri-dev.cjs",
|
||||
"tauri:build": "tauri build",
|
||||
|
||||
Reference in New Issue
Block a user