refactor: allow variadic prompt and add typecheck to scripts
This commit is contained in:
parent
430e99a972
commit
3e530f2a03
2 changed files with 4 additions and 3 deletions
|
|
@ -9,11 +9,12 @@
|
|||
"scripts": {
|
||||
"dev": "bun run index.ts",
|
||||
"prod": "bun run out/index.js",
|
||||
"check": "bunx --bun @biomejs/biome check --write",
|
||||
"check": "bunx --bun @biomejs/biome check --write && bun run tc",
|
||||
"build:js": "bun run check && bun run build:bundle && bun run shebang",
|
||||
"build:bundle": "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"
|
||||
"shebang": "sed -i '1i#!\\/usr\\/bin\\/env bun' out/index.js",
|
||||
"tc": "tsc --noEmit --incremental"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.4.12",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue