mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
- Add "type": "module" to all workspace package.json files - Replace __dirname with import.meta.url-based resolveCliPath() helper - Convert stream-json/stream-chain CJS named imports to default + destructure for ESM compatibility - Use createRequire() for @node-rs/jieba native module loading in ESM context Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
393 B
JSON
17 lines
393 B
JSON
{
|
|
"name": "@openchatlab/parser",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "ChatLab 多格式聊天记录解析器(14+ 格式)",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"dependencies": {
|
|
"@openchatlab/shared-types": "workspace:*",
|
|
"stream-json": "^1.9.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/stream-json": "^1.7.8"
|
|
}
|
|
}
|