From 9f35a2d974ac11125c0de7aa567e7dcbfb915a67 Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 16 Apr 2026 04:01:12 -0400 Subject: [PATCH] feat: add prod and shebang scripts --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 847dafb..676469f 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,10 @@ }, "scripts": { "check": "bunx --bun @biomejs/biome check --write", - "build": "bun build --target=bun --production --outfile=out/index.js ./index.ts && sed -i '1i#!\\/usr\\/bin\\/env bun' out/index.js", - "build:bin": "bun build --compile --outfile=out/aicl ./index.ts" + "prod": "bun run check && bun run build && bun run shebang", + "build": "bun build --target=bun --production --sourcemap --outdir=out index.ts", + "build:bin": "bun build --compile --outfile=out/aicl ./index.ts", + "shebang": "sed -i '1i#!\\/usr\\/bin\\/env bun' out/index.js" }, "devDependencies": { "@biomejs/biome": "2.4.12",