{
  "name": "eventsource-parser",
  "version": "1.0.0",
  "description": "Streaming, source-agnostic EventSource/Server-Sent Events parser",
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "source": "./src/index.ts",
      "require": "./dist/index.cjs",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./package.json": "./package.json"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "source": "./src/index.ts",
  "types": "./dist/index.d.ts",
  "scripts": {
    "clean": "rimraf dist coverage",
    "build": "pkg-utils build && pkg-utils --strict",
    "prebuild": "npm run clean",
    "lint": "eslint . && tsc --noEmit",
    "test": "vitest --reporter=verbose",
    "posttest": "npm run lint",
    "prepublishOnly": "npm run build"
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/rexxars/eventsource-parser.git"
  },
  "keywords": [
    "sse",
    "eventsource",
    "server-sent-events"
  ],
  "author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
  "license": "MIT",
  "engines": {
    "node": ">=14.18"
  },
  "devDependencies": {
    "@sanity/pkg-utils": "^2.2.13",
    "@sanity/semantic-release-preset": "^4.0.2",
    "@types/node": "^14.18.0",
    "@typescript-eslint/eslint-plugin": "^5.56.0",
    "@typescript-eslint/parser": "^5.56.0",
    "eslint": "^7.32.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-config-sanity": "^5.1.0",
    "prettier": "^2.8.6",
    "rimraf": "^4.4.1",
    "rollup-plugin-visualizer": "^5.9.0",
    "semantic-release": "^20.1.3",
    "typescript": "^4.9.5",
    "vitest": "^0.29.7"
  },
  "bugs": {
    "url": "https://github.com/rexxars/eventsource-parser/issues"
  },
  "homepage": "https://github.com/rexxars/eventsource-parser#readme",
  "prettier": {
    "semi": false,
    "printWidth": 100,
    "bracketSpacing": false,
    "singleQuote": true
  },
  "eslintConfig": {
    "parserOptions": {
      "ecmaVersion": 9,
      "sourceType": "module",
      "ecmaFeatures": {
        "modules": true
      }
    },
    "extends": [
      "sanity",
      "sanity/typescript",
      "prettier"
    ],
    "ignorePatterns": [
      "lib/**/"
    ]
  }
}
