lmc/package.json
mitchell 3235a08633 refactor(tts): replace Bun-specific APIs with execa and Node.js stdlib
- Replace `$` and `Bun.spawn` with `execa` for process execution
- Swap `Bun.JSONL.parse` for native `JSON.parse` and use `node:readline` for stdin handling
2026-06-07 22:13:19 -04:00

41 lines
1.4 KiB
JSON

{
"name": "lmc",
"module": "index.ts",
"type": "module",
"private": true,
"bin": {
"lmc": "dist/index.js",
"ttsc": "dist/tts.js"
},
"scripts": {
"dev": "pnpm run bundle &>/dev/null && node dist/index.js",
"check": "biome check --write && pnpm run tc",
"clean": "rm -rf dist",
"build": "pnpm run check && pnpm run bundle --minify index.ts && pnpm run bundle --minify tts.ts",
"build:bin": "pnpm run check && pnpm run bundle:bin --minify index.ts && pnpm run bundle:bin --minify tts.ts && pnpm run bin",
"bundle": "rolldown --dir=dist --platform=node --transform.target=node22",
"bundle:bin": "rolldown --dir=dist --platform=node --no-code-splitting --format=cjs",
"bin": "node --build-sea sea-config.json && node --build-sea sea-config-tts.json",
"tc": "tsc --noEmit --incremental"
},
"devDependencies": {
"@ai-sdk/openai-compatible": "^2.0.41",
"@biomejs/biome": "2.4.12",
"@clack/prompts": "^1.3.0",
"@cliffy/table": "npm:@jsr/cliffy__table",
"@mozilla/readability": "^0.6.0",
"@types/bun": "^1.3.14",
"ai": "^6.0.161",
"ansi-styles": "^6.2.3",
"chalk": "^5.6.2",
"execa": "^9.6.1",
"happy-dom": "^20.10.2",
"marked": "^18.0.4",
"rolldown": "^1.0.3",
"shiki": "^4.0.2",
"string-width": "^8.2.1",
"terminal-link": "^5.0.0",
"typescript": "^5",
"wrap-ansi": "^10.0.0"
}
}