feat: add ttsc CLI tool for TTS streaming
This commit is contained in:
parent
4112295144
commit
6b75836647
2 changed files with 10 additions and 4 deletions
|
|
@ -4,16 +4,19 @@
|
|||
"type": "module",
|
||||
"private": true,
|
||||
"bin": {
|
||||
"aicl": "out/index.js"
|
||||
"lmc": "out/index.js",
|
||||
"ttsc": "out/tts.js"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "bun run index.ts",
|
||||
"prod": "bun run out/index.js",
|
||||
"check": "bunx --bun @biomejs/biome check --write && bun run tc",
|
||||
"build:js": "bun run check && bun run build:bundle && bun run shebang",
|
||||
"build:js": "bun run check && bun run --parallel build:bundle build:tts && bun run --parallel shebang shebang:tts",
|
||||
"build:bundle": "bun build --target=bun --production --sourcemap --outdir=out index.ts",
|
||||
"build:tts": "bun build --target=bun --production --sourcemap --outdir=out tts.ts",
|
||||
"build:bin": "bun build --compile --outfile=out/aicl index.ts",
|
||||
"shebang": "sed -i '1i#!\\/usr\\/bin\\/env bun' out/index.js",
|
||||
"shebang:tts": "sed -i '1i#!\\/usr\\/bin\\/env bun' out/tts.js",
|
||||
"tc": "tsc --noEmit --incremental"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue