lmc/package.json

39 lines
1.2 KiB
JSON

{
"name": "lmc",
"module": "index.ts",
"type": "module",
"private": true,
"bin": {
"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 --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/lmc 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": {
"@biomejs/biome": "2.4.12",
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@ai-sdk/openai-compatible": "^2.0.41",
"@clack/prompts": "^1.3.0",
"ai": "^6.0.161",
"ansi-styles": "^6.2.3",
"chalk": "^5.6.2",
"cli-table3": "^0.6.5",
"shiki": "^4.0.2",
"terminal-link": "^5.0.0"
}
}