termchat: 极简双人终端聊天 (Node + TypeScript + Ink)

This commit is contained in:
2026-09-30 15:27:06 +08:00
commit c6b52e2574
9 changed files with 1541 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"name": "termchat",
"version": "0.1.0",
"description": "极简双人终端聊天",
"type": "module",
"bin": {
"chat": "./dist/cli.js"
},
"scripts": {
"dev": "tsx src/cli.ts",
"build": "tsc",
"start": "node dist/cli.js",
"smoke": "tsx scripts/smoke.ts"
},
"dependencies": {
"commander": "^13.0.0",
"ink": "^5.0.1",
"react": "^18.3.1"
},
"devDependencies": {
"@types/node": "^22.10.0",
"@types/react": "^18.3.0",
"tsx": "^4.19.0",
"typescript": "^5.6.3"
}
}