Files
vercel__streamdown/packages/streamdown/package.json
2026-08-13 13:52:34 +02:00

80 lines
2.2 KiB
JSON

{
"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"
},
"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"
},
"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": {
"@streamdown/cjk": "workspace:*",
"@streamdown/math": "workspace:*",
"@streamdown/mermaid": "workspace:*",
"@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",
"tsup": "^8.5.1",
"vitest": "^4.0.15"
},
"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",
"remend": "workspace:*",
"tailwind-merge": "^3.4.0",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
"unist-util-visit-parents": "^6.0.0"
}
}