{
  "name": "@onepatch/rum",
  "version": "0.5.3",
  "description": "Browser telemetry for OnePatch \u2014 page views, clicks, errors and fetch spans, correlated with your backend traces.",
  "license": "Apache-2.0",
  "homepage": "https://onepatch.dev",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/1patch/rum.git"
  },
  "bugs": {
    "url": "https://github.com/1patch/rum/issues"
  },
  "keywords": [
    "opentelemetry",
    "rum",
    "otel",
    "observability",
    "browser",
    "onepatch"
  ],
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "sideEffects": false,
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "scripts": {
    "build": "rm -rf dist && tsc -p tsconfig.build.json && bun build src/browser.ts --outfile dist/onepatch-rum.min.js --format iife --target browser --minify",
    "test": "bun test",
    "typecheck": "tsc --noEmit -p tsconfig.json",
    "fmt": "biome check --write .",
    "check": "biome ci . && bun run typecheck && bun test && bun run build",
    "test:browser": "bun test/browser/run.ts"
  },
  "dependencies": {
    "@hyperdx/otel-web": "^0.19.0",
    "@opentelemetry/api": "^1.9.1",
    "@opentelemetry/exporter-trace-otlp-http": "^0.218.0"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.5.8",
    "@types/bun": "^1.3.14",
    "playwright": "1.58.2",
    "typescript": "^5.5.0"
  }
}
