{ "name": "@sanity/eventsource", "version": "5.0.1", "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 ", "sideEffects": false, "type": "commonjs", "exports": { ".": { "types": "./node.d.ts", "browser": { "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.2", "@types/eventsource": "1.1.12", "event-source-polyfill": "1.0.31", "eventsource": "2.0.2" }, "devDependencies": { "prettier": "^3.0.3", "prettier-plugin-packagejson": "^2.4.5", "typescript": "5.2.2" } }