forked from imbytecat/fullstack-starter
feat(build): 支持桌面端多架构打包矩阵
This commit is contained in:
@@ -6,9 +6,14 @@
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"compile": "bun compile.ts",
|
||||
"compile:darwin": "bun compile.ts --target bun-darwin-arm64",
|
||||
"compile:linux": "bun compile.ts --target bun-linux-x64",
|
||||
"compile:windows": "bun compile.ts --target bun-windows-x64",
|
||||
"compile:darwin": "bun run compile:darwin:arm64",
|
||||
"compile:darwin:arm64": "bun compile.ts --target bun-darwin-arm64",
|
||||
"compile:darwin:x64": "bun compile.ts --target bun-darwin-x64",
|
||||
"compile:linux": "bun run compile:linux:x64",
|
||||
"compile:linux:arm64": "bun compile.ts --target bun-linux-arm64",
|
||||
"compile:linux:x64": "bun compile.ts --target bun-linux-x64",
|
||||
"compile:windows": "bun run compile:windows:x64",
|
||||
"compile:windows:x64": "bun compile.ts --target bun-windows-x64",
|
||||
"db:generate": "drizzle-kit generate",
|
||||
"db:migrate": "drizzle-kit migrate",
|
||||
"db:push": "drizzle-kit push",
|
||||
|
||||
Reference in New Issue
Block a user