{
  "name": "openrtc",
  "version": "3.3.0",
  "private": false,
  "type": "module",
  "sideEffects": false,
  "description": "A Rust-first realtime runtime for browser and native apps, exposed through TypeScript and WASM.",
  "keywords": [
    "realtime",
    "p2p",
    "networking",
    "iroh",
    "wasm",
    "tauri",
    "runtime"
  ],
  "author": "Bryant Hargreaves",
  "license": "SEE LICENSE IN LICENSE",
  "homepage": "https://openrtc.app",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bluestarburst/openrtc.git"
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist/**/*.js",
    "dist/**/*.d.ts",
    "dist/**/*.wasm",
    "native/**/*",
    "LICENSE",
    "README.md"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./native": {
      "types": "./dist/native.d.ts",
      "import": "./dist/native.js"
    },
    "./node": {
      "browser": {
        "types": "./dist/node-browser.d.ts",
        "import": "./dist/node-browser.js"
      },
      "types": "./dist/node.d.ts",
      "import": "./dist/node.js"
    },
    "./server": {
      "browser": {
        "types": "./dist/server-browser.d.ts",
        "import": "./dist/server-browser.js"
      },
      "types": "./dist/server.d.ts",
      "import": "./dist/server.js"
    },
    "./service-node": {
      "types": "./dist/service-node.d.ts",
      "import": "./dist/service-node.js"
    },
    "./testing": {
      "types": "./dist/testing.d.ts",
      "import": "./dist/testing.js"
    },
    "./external-broadcast": {
      "types": "./dist/external-broadcast.d.ts",
      "import": "./dist/external-broadcast.js"
    },
    "./testing/native": {
      "types": "./dist/testing/native.d.ts",
      "import": "./dist/testing/native.js"
    },
    "./runtime": {
      "types": "./dist/runtime/index.d.ts",
      "import": "./dist/runtime/index.js"
    },
    "./runtime/device-status": {
      "types": "./dist/runtime/device-status.d.ts",
      "import": "./dist/runtime/device-status.js"
    },
    "./runtime/wasm": {
      "types": "./dist/runtime/WasmRuntimeAdapter.d.ts",
      "import": "./dist/runtime/WasmRuntimeAdapter.js"
    },
    "./transport": {
      "types": "./dist/transport/index.d.ts",
      "import": "./dist/transport/index.js"
    },
    "./package.json": "./package.json"
  },
  "scripts": {
    "build": "tsup",
    "check:lightweight-entry": "node scripts/check-lightweight-entry.mjs",
    "check:native-bundle": "node scripts/check-native-bundle.mjs && pnpm --dir ../.. verify:node-host:released",
    "check:media-ownership": "vitest run tests/contract/MediaOwnershipAudit.test.ts --no-file-parallelism --maxWorkers=1",
    "check:entrypoints": "node scripts/check-entrypoints.mjs",
    "check:pack-install": "node scripts/check-pack-install.mjs",
    "build:clean": "rm -rf dist && pnpm run build",
    "release:build": "pnpm run build:wasm && pnpm run build:clean && pnpm run check:lightweight-entry && pnpm run check:native-bundle && pnpm run check:entrypoints",
    "release:prepare": "pnpm run release:build && pnpm run check:pack-install",
    "build:types": "tsc --noEmit",
    "build:wasm": "node ../../scripts/build-openrtc-wasm-artifact.mjs",
    "test": "pnpm run test:deterministic && pnpm run test:emulator",
    "test:deterministic": "OPENRTC_DETERMINISTIC_TESTS=1 vitest run tests/unit tests/contract",
    "test:browser-storage": "node --test tests/browser/device-key-storage.node.mjs",
    "test:emulator": "node ../../tests/emulator/run-emulator-suite.mjs",
    "test:emulator:running": "vitest run tests/emulator --no-file-parallelism --maxWorkers=1 --maxConcurrency=1",
    "test:acceptance:native:running": "vitest run tests/emulator/RealOpenRtcAcceptance.native-wasm.emulator.test.ts --no-file-parallelism --maxWorkers=1 --maxConcurrency=1",
    "test:watch": "vitest",
    "coverage": "vitest run --coverage",
    "prepublishOnly": "pnpm run release:prepare",
    "release:build:artifacts": "pnpm run build:wasm && pnpm run build:clean"
  },
  "dependencies": {
    "@moq/net": "0.1.9",
    "@noble/ciphers": "^2.2.0",
    "@noble/curves": "^1.9.0",
    "@noble/hashes": "^1.8.0",
    "tweetnacl": "^1.0.3"
  },
  "devDependencies": {
    "@types/node": "^20.0.0",
    "@vitest/coverage-v8": "^4.0.18",
    "firebase": "^12.16.0",
    "happy-dom": "^20.5.0",
    "playwright": "^1.58.2",
    "tsup": "^8.5.1",
    "typescript": "^5.0.0",
    "vitest": "^4.0.18",
    "ws": "8.21.0",
    "zod": "^4.4.3"
  },
  "directories": {
    "example": "examples",
    "test": "tests"
  },
  "bugs": {
    "url": "https://github.com/bluestarburst/openrtc/issues"
  }
}
