chore(desktop): 添加 .gitignore 和多平台构建脚本

This commit is contained in:
2026-02-07 06:29:08 +08:00
parent f758fd5947
commit 9d0e9a6aac
2 changed files with 8 additions and 0 deletions

6
apps/desktop/.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
# Dependencies
node_modules/
# Electrobun build output
build/
artifacts/

View File

@@ -5,7 +5,9 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "electrobun build --env=canary", "build": "electrobun build --env=canary",
"build:all": "electrobun build --env=canary --targets=all",
"build:stable": "electrobun build --env=stable", "build:stable": "electrobun build --env=stable",
"build:stable:all": "electrobun build --env=stable --targets=all",
"dev": "electrobun dev", "dev": "electrobun dev",
"fix": "biome check --write", "fix": "biome check --write",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"