42 lines
1.3 KiB
JSON
42 lines
1.3 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",
|
|
"@cliffy/table": "npm:@jsr/cliffy__table",
|
|
"@mozilla/readability": "^0.6.0",
|
|
"ai": "^6.0.161",
|
|
"ansi-styles": "^6.2.3",
|
|
"chalk": "^5.6.2",
|
|
"happy-dom-without-node": "^14.12.3",
|
|
"marked": "^18.0.4",
|
|
"shiki": "^4.0.2",
|
|
"terminal-link": "^5.0.0"
|
|
}
|
|
}
|