{
  "name": "@metamask/streams",
  "version": "0.6.0",
  "description": "SES-compatible streams, in the lineage of `@endo/stream`",
  "keywords": [
    "MetaMask",
    "object capabilities",
    "ocap"
  ],
  "homepage": "https://github.com/MetaMask/ocap-kernel/tree/main/packages/streams#readme",
  "bugs": {
    "url": "https://github.com/MetaMask/ocap-kernel/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/MetaMask/ocap-kernel.git"
  },
  "license": "(MIT OR Apache-2.0)",
  "sideEffects": false,
  "type": "module",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    },
    "./browser": {
      "import": {
        "types": "./dist/browser/index.d.mts",
        "default": "./dist/browser/index.mjs"
      },
      "require": {
        "types": "./dist/browser/index.d.cts",
        "default": "./dist/browser/index.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.cts",
  "files": [
    "dist/",
    "browser.js"
  ],
  "scripts": {
    "build": "ts-bridge --project tsconfig.build.json --no-references --clean",
    "build:docs": "typedoc",
    "changelog:update": "../../scripts/update-changelog.sh @metamask/streams",
    "changelog:validate": "../../scripts/validate-changelog.sh @metamask/streams",
    "clean": "rimraf --glob './*.tsbuildinfo' ./.eslintcache ./coverage ./dist ./.turbo ./logs",
    "lint": "yarn lint:eslint && yarn lint:misc --check && yarn constraints && yarn lint:dependencies",
    "lint:dependencies": "depcheck --quiet",
    "lint:eslint": "eslint . --cache",
    "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write && yarn constraints --fix && yarn lint:dependencies",
    "lint:misc": "prettier --no-error-on-unmatched-pattern '**/*.json' '**/*.md' '**/*.html' '!**/CHANGELOG.old.md' '**/*.yml' '!.yarnrc.yml' '!merged-packages/**' --ignore-path ../../.gitignore --log-level error",
    "publish:preview": "yarn npm publish --tag preview",
    "postinstall": "../../scripts/playwright-install.sh",
    "test": "vitest run --config vitest.config.ts",
    "test:clean": "yarn test --no-cache --coverage.clean",
    "test:dev": "yarn test --mode development",
    "test:verbose": "yarn test --reporter verbose",
    "test:watch": "vitest --config vitest.config.ts",
    "test:dev:quiet": "yarn test:dev --reporter @ocap/repo-tools/vitest-reporters/silent"
  },
  "dependencies": {
    "@endo/promise-kit": "^1.1.13",
    "@endo/stream": "^1.2.13",
    "@metamask/kernel-errors": "^0.6.0",
    "@metamask/kernel-utils": "^0.5.0",
    "@metamask/superstruct": "^3.2.1",
    "@metamask/utils": "^11.9.0"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.17.4",
    "@metamask/auto-changelog": "^5.3.0",
    "@metamask/eslint-config": "^15.0.0",
    "@metamask/eslint-config-nodejs": "^15.0.0",
    "@metamask/eslint-config-typescript": "^15.0.0",
    "@ocap/repo-tools": "^0.0.0",
    "@ts-bridge/cli": "^0.6.3",
    "@ts-bridge/shims": "^0.1.1",
    "@types/chrome": "^0.0.313",
    "@typescript-eslint/eslint-plugin": "^8.29.0",
    "@typescript-eslint/parser": "^8.29.0",
    "@typescript-eslint/utils": "^8.29.0",
    "@vitest/browser": "^4.0.16",
    "@vitest/browser-playwright": "^4.0.16",
    "@vitest/eslint-plugin": "^1.6.5",
    "cookie": "^1.0.2",
    "depcheck": "^1.4.7",
    "eslint": "^9.23.0",
    "eslint-config-prettier": "^10.1.1",
    "eslint-import-resolver-typescript": "^4.3.1",
    "eslint-plugin-import-x": "^4.10.0",
    "eslint-plugin-jsdoc": "^50.6.9",
    "eslint-plugin-n": "^17.17.0",
    "eslint-plugin-prettier": "^5.2.6",
    "eslint-plugin-promise": "^7.2.1",
    "playwright": "^1.58.2",
    "prettier": "^3.5.3",
    "rimraf": "^6.0.1",
    "ses": "^1.14.0",
    "turbo": "^2.9.1",
    "typedoc": "^0.28.1",
    "typescript": "~5.8.2",
    "typescript-eslint": "^8.29.0",
    "vite": "^7.3.0",
    "vitest": "^4.0.16"
  },
  "engines": {
    "node": ">=22"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  }
}