{
  "name": "@sanity/eventsource",
  "version": "5.0.2",
  "description": "EventSource polyfill for browser and node.js",
  "keywords": [
    "sanity",
    "cms",
    "headless",
    "realtime",
    "content",
    "eventsource",
    "polyfill"
  ],
  "homepage": "https://www.sanity.io/",
  "bugs": {
    "url": "https://github.com/sanity-io/sanity/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sanity-io/eventsource.git"
  },
  "license": "MIT",
  "author": "Sanity.io <hello@sanity.io>",
  "sideEffects": false,
  "type": "commonjs",
  "exports": {
    ".": {
      "types": "./node.d.ts",
      "browser": {
        "types": "./browser.d.ts",
        "default": "./browser.js"
      },
      "react-native": {
        "types": "./browser.d.ts",
        "default": "./browser.js"
      },
      "deno": "./browser.js",
      "edge-light": "./browser.js",
      "worker": "./browser.js",
      "node": "./node.js",
      "default": "./node.js"
    },
    "./browser": {
      "types": "./browser.d.ts",
      "default": "./browser.js"
    },
    "./node": {
      "types": "./node.d.ts",
      "default": "./node.js"
    },
    "./package.json": "./package.json"
  },
  "main": "./node.js",
  "browser": "./browser.js",
  "types": "./node.d.ts",
  "typesVersions": {
    "*": {
      "browser": [
        "./browser.d.ts"
      ],
      "node": [
        "./node.d.ts"
      ]
    }
  },
  "files": [
    "CHANGELOG.md",
    "browser.js",
    "browser.d.ts",
    "node.js",
    "node.d.ts"
  ],
  "scripts": {
    "prepublishOnly": "tsc",
    "test": "tsc --noEmit --emitDeclarationOnly false"
  },
  "prettier": {
    "semi": false,
    "singleQuote": true
  },
  "dependencies": {
    "@types/event-source-polyfill": "1.0.5",
    "@types/eventsource": "1.1.15",
    "event-source-polyfill": "1.0.31",
    "eventsource": "2.0.2"
  },
  "devDependencies": {
    "prettier": "^3.2.5",
    "prettier-plugin-packagejson": "^2.4.12",
    "typescript": "5.4.2"
  }
}
