{
  "name": "@openpgp/web-stream-tools",
  "version": "0.3.1",
  "description": "Utility functions for WhatWG Streams",
  "type": "module",
  "files": [
    "lib/",
    "tsconfig.json"
  ],
  "exports": {
    "types@<5.5": "./lib/types/v4.7-v5.4/index.d.ts",
    "types": "./lib/types/index.d.ts",
    "import": "./lib/index.js"
  },
  "typesVersions": {
    ">=5.5": {
      ".": [
        "lib/types/index.d.ts"
      ]
    },
    ">=4.7": {
      ".": [
        "lib/types/v4.7-v5.4/index.d.ts"
      ]
    }
  },
  "main": "./lib/index.js",
  "engines": {
    "node": ">= 18.0.0"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/openpgpjs/web-stream-tools.git"
  },
  "author": "Daniel Huigens <d.huigens@protonmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/openpgpjs/web-stream-tools/issues"
  },
  "homepage": "https://github.com/openpgpjs/web-stream-tools#readme",
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@openpgp/jsdoc": "^4.0.4",
    "@stylistic/eslint-plugin": "^5.10.0",
    "@types/chai": "^5.2.3",
    "@types/mocha": "^10.0.10",
    "@types/node": "^24.12.2",
    "chai": "^6.2.2",
    "eslint": "^10.2.1",
    "eslint-import-resolver-typescript": "^4.4.4",
    "eslint-plugin-chai-friendly": "^1.2.0",
    "eslint-plugin-import": "^2.32.0",
    "globals": "^17.5.0",
    "karma": "^6.4.4",
    "karma-chrome-launcher": "^3.2.0",
    "karma-mocha": "^2.0.1",
    "karma-mocha-reporter": "^2.2.5",
    "karma-webpack": "^5.0.1",
    "mocha": "^11.7.5",
    "playwright": "^1.59.1",
    "ts-loader": "^9.5.7",
    "ts-mocha": "^11.1.0",
    "ts-node": "^10.9.2",
    "tsx": "^4.21.0",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.57.3",
    "web-streams-polyfill": "^4.2.0",
    "webpack": "^5.106.2"
  },
  "peerDependencies": {
    "@types/node": ">=18.0.0",
    "typescript": ">=4.7"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    },
    "@types/node": {
      "optional": true
    }
  },
  "scripts": {
    "test-type-definitions": "tsc --project test/tsconfig.json && tsx test/typescript.test.ts && npm run test-type-definitions-es5",
    "test-type-definitions-es5": "tsc --project test/tsconfig.es5.json && tsx --tsconfig test/tsconfig.es5.json test/typescript.test.ts",
    "test-type-definitions-legacy": "tsc --project test/tsconfig.v4.7.json && tsx test/typescript.v4.7.test.ts",
    "test-browser": "karma start karma.conf.cjs",
    "test-node": "NODE_OPTIONS='--import=tsx' mocha ./test/node.test.ts ./test/common.test.ts",
    "lint": "eslint lib test eslint.config.js",
    "docs": "jsdoc --configure .jsdocrc.cjs --destination docs --readme README.md lib && printf '%s' 'web-stream-tools.openpgpjs.org' > docs/CNAME",
    "preversion": "rm -rf docs",
    "version": "npm run docs && git add -A docs",
    "postversion": "git push && git push --tags && npm publish"
  }
}
