feat: add prod and shebang scripts
This commit is contained in:
parent
993fb143a2
commit
9f35a2d974
1 changed files with 4 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue