From 9c95404e934058eae15e675c86c0033bbe5cf030 Mon Sep 17 00:00:00 2001 From: CancerAi Date: Wed, 23 Sep 2026 21:09:48 +0800 Subject: [PATCH] =?UTF-8?q?change:=20=E6=96=B0=E5=A2=9E=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E5=92=8C=E6=B8=85=E7=90=86=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d32f36d..62657ec 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,11 @@ "type": "module", "private": true, "scripts": { - "dev": "bun run --hot src/index.ts" + "dev": "bun run --hot src/index.ts", + "clean": "rm -rf ./build && rm -rf ./.*.bun-build", + "build-macos": "mkdir -p build && bun build src/index.ts --compile --minify --outfile build/test-api-macos", + "build-linux-x86": "bun build src/index.ts --compile --minify --target=bun-linux-x64 --outfile build/test-api-linux-x86", + "build-linux-arm64": "bun build src/index.ts --compile --minify --target=bun-linux-arm64 --outfile build/test-api-linux-arm64" }, "devDependencies": { "@types/bun": "latest" @@ -15,4 +19,4 @@ "dependencies": { "hono": "^4.13.8" } -} +} \ No newline at end of file