lmc/package.json

40 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",
"happy-dom-without-node": "^14.12.3",
"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"
}
}