{
  "name": "mooncat-browser",
  "version": "0.4.10",
  "description": "浏览器自动化工具包：可独立启动的本地服务（browserd）+ JS/TS client。双路由（WebPlater 扩展 / CDP），不依赖 mooncat 总发行体。",
  "type": "module",
  "main": "./dist/client.js",
  "module": "./dist/client.js",
  "types": "./dist/client.d.ts",
  "bin": {
    "mooncat-browser": "dist/cli.js"
  },
  "exports": {
    ".": {
      "types": "./dist/client.d.ts",
      "import": "./dist/client.js"
    },
    "./client": {
      "types": "./dist/client.d.ts",
      "import": "./dist/client.js"
    },
    "./server": {
      "types": "./dist/server.d.ts",
      "import": "./dist/server.js"
    },
    "./protocol": {
      "types": "./dist/protocol.d.ts",
      "import": "./dist/protocol.js"
    },
    "./config": {
      "types": "./dist/config.d.ts",
      "import": "./dist/config.js"
    },
    "./prepare-extension": {
      "types": "./dist/prepare-extension.d.ts",
      "import": "./dist/prepare-extension.js"
    },
    "./schemas/*": "./schemas/*",
    "./package.json": "./package.json"
  },
  "files": [
    "dist",
    "browser-op/backend",
    "browser-op/cdp",
    "browser-op/extension",
    "browser-op/web",
    "browser-op/webplater/dist/chrome-mv3",
    "browser-op/index.cjs",
    "browser-op/package.json",
    "browser-op/state.cjs",
    "schemas",
    "skills",
    "README.md"
  ],
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "build": "npm run build:ts && npm run build:docs && npm run build:extension",
    "build:ts": "tsc",
    "build:docs": "node scripts/generate-actions.mjs",
    "build:extension": "cd browser-op/webplater && pnpm install --frozen-lockfile && pnpm run build",
    "clean": "node scripts/clean.mjs",
    "typecheck": "tsc --noEmit",
    "test": "vitest run",
    "test:e2e:cdp": "cross-env E2E=cdp vitest run tests/e2e/text-actions.e2e.test.ts",
    "test:e2e:extension": "cross-env E2E=extension vitest run tests/e2e/text-actions.e2e.test.ts",
    "test:wait-for:extension": "cross-env E2E=extension vitest run tests/e2e/wait-for-state.e2e.test.ts",
    "test:e2e:all": "cross-env E2E=all vitest run tests/e2e/text-actions.e2e.test.ts",
    "test:sycm:cdp": "cross-env E2E=cdp vitest run tests/e2e/sycm-actions.e2e.test.ts",
    "test:sycm:extension": "cross-env E2E=extension vitest run tests/e2e/sycm-actions.e2e.test.ts",
    "test:sycm:all": "cross-env E2E=all vitest run tests/e2e/sycm-actions.e2e.test.ts",
    "test:read:cdp": "cross-env E2E=cdp vitest run tests/e2e/read-actions.e2e.test.ts",
    "test:read:extension": "cross-env E2E=extension vitest run tests/e2e/read-actions.e2e.test.ts",
    "test:read:all": "cross-env E2E=all vitest run tests/e2e/read-actions.e2e.test.ts",
    "prepublishOnly": "npm run build:ts"
  },
  "dependencies": {
    "cheerio": "^1.2.0",
    "commander": "^12.1.0",
    "playwright-core": "^1.61.0",
    "turndown": "^7.2.0",
    "ws": "^8.21.0"
  },
  "devDependencies": {
    "@types/node": "^22.10.0",
    "cross-env": "^10.1.0",
    "happy-dom": "^20.10.6",
    "typescript": "^5.7.2",
    "vitest": "^2.1.0"
  },
  "keywords": [
    "browser",
    "automation",
    "playwright",
    "chrome",
    "cdp",
    "web-automation",
    "mooncat"
  ],
  "license": "MIT"
}
