wechat_msg_crawler/npm/wechat-cli/package.json
canghe f51e89ce12 Add npm distribution support with PyInstaller binary
- Add npm package structure (@canghe_ai/wechat-cli) with platform-specific optionalDependencies
- Add JS wrapper (bin/wechat-cli.js) and postinstall script
- Add PyInstaller entry point and build script
- Update scanner_macos.py for PyInstaller compatibility (sys._MEIPASS)
- Update README with npm install instructions (macOS arm64)
- Fix repo URLs to freestylefly/wechat-cli
2026-04-04 12:36:50 +08:00

31 lines
705 B
JSON

{
"name": "@canghe_ai/wechat-cli",
"version": "0.2.0",
"description": "WeChat data query CLI — chat history, contacts, sessions, favorites, and more. Designed for LLM integration.",
"bin": {
"wechat-cli": "bin/wechat-cli.js"
},
"scripts": {
"postinstall": "node install.js"
},
"files": [
"bin/",
"install.js"
],
"optionalDependencies": {
"@canghe_ai/wechat-cli-darwin-arm64": "0.2.0"
},
"engines": {
"node": ">=14"
},
"keywords": ["wechat", "cli", "wechat-cli", "llm", "ai"],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/freestylefly/wechat-cli"
},
"publishConfig": {
"access": "public"
}
}