feat: add prod and shebang scripts

This commit is contained in:
mitchell 2026-04-16 04:01:12 -04:00
parent 993fb143a2
commit 9f35a2d974

View file

@ -8,8 +8,10 @@
}, },
"scripts": { "scripts": {
"check": "bunx --bun @biomejs/biome check --write", "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", "prod": "bun run check && bun run build && bun run shebang",
"build:bin": "bun build --compile --outfile=out/aicl ./index.ts" "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": { "devDependencies": {
"@biomejs/biome": "2.4.12", "@biomejs/biome": "2.4.12",