{
  "name": "webext-messenger",
  "version": "0.37.0",
  "description": "Browser Extension component messaging framework",
  "keywords": [],
  "repository": "pixiebrix/webext-messenger",
  "license": "MIT",
  "author": "Federico Brigante for PixieBrix <federico@pixiebrix.com> (https://www.pixiebrix.com)",
  "type": "module",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./distribution/index.d.ts",
      "default": "./distribution/index.js"
    },
    "./*": "./distribution/*"
  },
  "scripts": {
    "build": "tsc",
    "demo:watch": "parcel serve --no-cache --no-hmr",
    "demo:build": "parcel build --no-cache --no-scope-hoist",
    "prepack": "tsc --sourceMap false",
    "test": "run-p test:unit lint build demo:build",
    "test:unit": "vitest run",
    "lint": "eslint .",
    "fix": "eslint . --fix",
    "watch": "tsc --watch"
  },
  "dependencies": {
    "one-event": "^4.4.0",
    "serialize-error": "^13.0.2",
    "type-fest": "^5.10.0",
    "webext-detect": "^6.0.0"
  },
  "@parcel/resolver-default": {
    "packageExports": true
  },
  "devDependencies": {
    "@parcel/config-webextension": "^2.16.3",
    "@sindresorhus/tsconfig": "^8.1.0",
    "@types/chrome": "^0.3.0",
    "@types/tape": "^5.8.1",
    "buffer": "^6.0.3",
    "eslint": "^8.57.0",
    "eslint-config-pixiebrix": "^0.41.1",
    "events": "^3.3.0",
    "npm-run-all": "^4.1.5",
    "parcel": "^2.16.0",
    "path-browserify": "^1.0.1",
    "process": "^0.11.10",
    "stream-browserify": "^3.0.0",
    "tape": "^5.10.2",
    "typescript": "^6.0.3",
    "vitest": "^5.0.2"
  },
  "targets": {
    "main": false,
    "external": {
      "source": "source/test/external.html"
    },
    "extension": {
      "source": "source/test/manifest.json",
      "engines": {
        "browsers": "Chrome 110"
      },
      "sourceMap": {
        "inline": true
      }
    }
  },
  "webExt": {
    "sourceDir": "dist",
    "run": {
      "startUrl": [
        "https://fregante.github.io/pixiebrix-testing-ground/Will-call-background-methods",
        "https://fregante.github.io/pixiebrix-testing-ground/Will-call-other-CS-via-background",
        "https://fregante.github.io/pixiebrix-testing-ground/Will-call-offscreen-methods",
        "http://localhost:1234/external.html"
      ]
    }
  }
}
