diff --git a/package.json b/package.json index 68ebd60..847dafb 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,13 @@ "module": "index.ts", "type": "module", "private": true, + "bin": { + "aicl": "out/index.js" + }, "scripts": { "check": "bunx --bun @biomejs/biome check --write", - "build": "bun build --compile --outfile=out/aicl ./index.ts" + "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" }, "devDependencies": { "@biomejs/biome": "2.4.12",