lmc/package.json
mitchell f668037582 chore(config): pin @types/bun, tighten TypeScript strictness, and refactor config logic
- Pin `@types/bun` to `^1.3.14` for reproducible builds instead of using `latest`
- Update `tsconfig.json` with stricter type-checking flags and reorganize compiler options
- Refactor `initConfig` to DRY up the model default logic and add a null guard before process exit
2026-06-04 02:24:53 -04:00

42 lines
1.1 KiB
JSON

{
"name": "lmc",
"module": "index.ts",
"main": "dist/index.js",
"type": "commonjs",
"private": true,
"bin": {
"lmc": "dist/index.js"
},
"scripts": {
"dev": "tsx index.ts",
"prod": "node dist/index.js",
"check": "biome check --write && pnpm run tc",
"build": "pnpm run check && pnpm run bundle && pnpm run bin",
"bundle": "esbuild index.ts --bundle --outdir=dist --platform=node --target=node22",
"bin": "node --build-sea sea-config.json",
"tc": "tsc --noEmit --incremental"
},
"devDependencies": {
"@biomejs/biome": "2.4.12",
"@types/bun": "^1.3.14",
"esbuild": "0.28.0"
},
"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",
"string-width": "^8.2.1",
"terminal-link": "^5.0.0",
"wrap-ansi": "^10.0.0"
}
}