{
  "name": "streamdown",
  "version": "2.5.0",
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./styles.css": "./styles.css"
  },
  "files": [
    "dist",
    "styles.css",
    "README.md"
  ],
  "homepage": "https://streamdown.ai",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vercel/streamdown.git",
    "directory": "packages/streamdown"
  },
  "author": "Hayden Bleasel <hayden.bleasel@vercel.com>",
  "license": "Apache-2.0",
  "description": "A drop-in replacement for react-markdown, designed for AI-powered streaming.",
  "devDependencies": {
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.0",
    "@types/hast": "^3.0.4",
    "@types/react": "^19.2.7",
    "@types/react-dom": "^19.2.3",
    "react-dom": "^19.2.3",
    "@vitejs/plugin-react": "^5.1.2",
    "@vitest/coverage-v8": "^4.0.15",
    "jsdom": "^27.3.0",
    "react-markdown": "^10.1.0",
    "rehype-parse": "^9.0.1",
    "rehype-stringify": "^10.0.1",
    "shiki": "^3.19.0",
    "tsup": "^8.5.1",
    "vitest": "^4.0.15",
    "@streamdown/cjk": "1.0.3",
    "@streamdown/math": "1.0.2",
    "@streamdown/mermaid": "1.0.2"
  },
  "peerDependencies": {
    "react": "^18.0.0 || ^19.0.0",
    "react-dom": "^18.0.0 || ^19.0.0"
  },
  "dependencies": {
    "clsx": "^2.1.1",
    "hast-util-to-jsx-runtime": "^2.3.6",
    "html-url-attributes": "^3.0.1",
    "marked": "^17.0.1",
    "rehype-harden": "^1.1.8",
    "rehype-raw": "^7.0.0",
    "rehype-sanitize": "^6.0.0",
    "remark-gfm": "^4.0.1",
    "remark-parse": "^11.0.0",
    "remark-rehype": "^11.1.2",
    "tailwind-merge": "^3.4.0",
    "unified": "^11.0.5",
    "mermaid": "^11.12.2",
    "unist-util-visit": "^5.0.0",
    "unist-util-visit-parents": "^6.0.0",
    "remend": "1.3.0"
  },
  "scripts": {
    "build": "tsup",
    "postbuild": "node scripts/postbuild.js",
    "test": "vitest run",
    "test:ui": "vitest --ui run",
    "test:coverage": "vitest --coverage run",
    "bench": "vitest bench --run > results.txt",
    "bench:ui": "vitest bench --ui --run",
    "size": "node scripts/bundle-size.js"
  }
}