mirror of
https://github.com/epiral/bb-browser.git
synced 2026-09-14 13:45:45 +08:00
601f4ae813
- CLI: open, snapshot, click, fill, status, stop 命令 - Extension: buildDomTree 移植, DOM 服务, SSE 通信 - Daemon: HTTP SSE 架构, 请求管理 - Shared: 通信协议类型定义 snapshot 支持两种模式: - 默认完整树模式 (含文本节点) - -i 交互元素模式 (只含可交互元素) 已验证: 推特/Reddit 登录态页面访问正常
25 lines
468 B
JSON
25 lines
468 B
JSON
{
|
|
"name": "@bb-browser/shared",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": ["dist"],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"clean": "rm -rf dist"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"tsup": "^8.3.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|