{
  "name": "playwright-crx",
  "version": "0.15.0",
  "engines": {
    "node": ">=18"
  },
  "author": {
    "name": "Rui Figueira"
  },
  "license": "Apache-2.0",
  "scripts": {
    "ci:pw:core-utils-bundle": "npm ci --prefix ./playwright/packages/playwright-core/bundles/utils",
    "ci:pw:core-zip-bundle": "npm ci --prefix ./playwright/packages/playwright-core/bundles/zip",
    "ci:pw:test-babel-bundle": "npm ci --prefix ./playwright/packages/playwright/bundles/babel",
    "ci:pw:test-expect-bundle": "npm ci --prefix ./playwright/packages/playwright/bundles/expect",
    "ci:pw:test-utils-bundle": "npm ci --prefix ./playwright/packages/playwright/bundles/utils",
    "ci:pw:bundles": "npm run ci:pw:core-utils-bundle && npm run ci:pw:core-zip-bundle && npm run ci:pw:test-babel-bundle && npm run ci:pw:test-expect-bundle && npm run ci:pw:test-utils-bundle",
    "clean:pw:bundles": "rimraf -g ./playwright/packages/playwright-core/bundles/**/node_modules && rimraf -g ./playwright/packages/playwright/bundles/**/node_modules",
    "clean:pw": "npm run clean:pw:bundles && cd ./playwright && npm run clean",
    "generate:pw": "cd ./playwright && node ./utils/generate_injected.js",
    "build:examples:todomvc": "npm run build --prefix ./examples/todomvc-crx",
    "build:examples:recorder": "npm run build --prefix ./examples/recorder-crx",
    "build:examples": "npm run build:examples:todomvc && npm run build:examples:recorder",
    "clean:examples": "rimraf ./examples/recorder-crx/dist && rimraf ./examples/todomvc-crx/dist",
    "build:tests": "npm run build --prefix ./tests",
    "clean:tests": "rimraf ./tests/playwright-report && rimraf ./tests/test-results",
    "generate:crx": "node ./utils/generate_test_types.js",
    "lint": "eslint --cache && eslint -c eslint.config.mjs",
    "build:crx": "npm run generate:pw && npm run generate:crx && vite build",
    "clean:crx": "rimraf ./lib",
    "build": "npm run lint && npm run ci:pw:bundles && npm run build:crx && npm run build:examples && npm run build:tests",
    "clean": "npm run clean:pw && npm run clean:examples && npm run clean:tests && npm run clean:crx",
    "test:install": "cd ./tests && npx playwright install --with-deps chromium",
    "test": "cd ./tests && npx playwright test",
    "test-ui": "cd ./tests && npx playwright test --ui --timeout 0"
  },
  "workspaces": [
    "examples/recorder-crx",
    "examples/todomvc-crx",
    "tests"
  ],
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./lib/index.mjs",
      "require": "./lib/index.js",
      "default": "./lib/index.js"
    },
    "./test": {
      "types": "./test.d.ts",
      "import": "./lib/test.mjs",
      "require": "./lib/test.js",
      "default": "./lib/test.js"
    },
    "./package.json": "./package.json"
  },
  "devDependencies": {
    "@eslint/compat": "^1.2.6",
    "@eslint/eslintrc": "^3.2.0",
    "@eslint/js": "^9.19.0",
    "@rollup/plugin-replace": "^6.0.1",
    "@stylistic/eslint-plugin": "^3.0.1",
    "@types/chrome": "^0.0.281",
    "@types/debug": "^4.1.12",
    "@typescript-eslint/eslint-plugin": "^8.26.1",
    "@typescript-eslint/parser": "^8.26.1",
    "@typescript-eslint/utils": "^8.26.1",
    "acorn": "^8.14.0",
    "acorn-walk": "^8.3.4",
    "assert": "^2.1.0",
    "babel-bundle": "file:./playwright/packages/playwright/bundles/babel",
    "browserify-zlib": "^0.2.0",
    "buffer": "^6.0.3",
    "crypto-browserify": "^3.12.0",
    "debug": "^4.3.4",
    "esbuild": "^0.25.0",
    "eslint": "^9.19.0",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-notice": "^1.0.0",
    "eslint-plugin-react": "^7.37.4",
    "eslint-plugin-react-hooks": "^5.1.0",
    "events": "^3.3.0",
    "expect-bundle": "file:./playwright/packages/playwright/bundles/expect",
    "https-browserify": "^1.0.0",
    "inspector": "^0.5.0",
    "memfs": "^4.7.7",
    "os-browserify": "^0.3.0",
    "path": "^0.12.7",
    "process": "^0.11.10",
    "readable-stream": "^4.5.2",
    "rimraf": "^5.0.5",
    "rollup-plugin-sourcemaps": "^0.6.3",
    "setimmediate": "^1.0.5",
    "stream-http": "^3.2.0",
    "string_decoder": "^1.3.0",
    "test-utils-bundle": "file:./playwright/packages/playwright/bundles/utils",
    "typescript": "^5.8.2",
    "url": "^0.11.3",
    "util": "^0.12.5",
    "utils-bundle": "file:./playwright/packages/playwright-core/bundles/utils",
    "vite": "^6.3.4",
    "web-package": "file:./playwright/packages/web",
    "zip-bundle": "file:./playwright/packages/playwright-core/bundles/zip"
  }
}
