| 1 | { |
| 2 | "name": "@clo/react-markdown", |
| 3 | "type": "module", |
| 4 | "exports": { |
| 5 | ".": "./src/Markdown.ts", |
| 6 | "./Predict": "./src/Predict.ts" |
| 7 | }, |
| 8 | "scripts": { |
| 9 | "demo": "pnpm install && vite dev", |
| 10 | "all": "pnpm --parallel fmt && pnpm --stream '/check|test$/'", |
| 11 | "test": "vitest", |
| 12 | "check": "oxlint --react-plugin --vitest-plugin --type-aware --type-check .", |
| 13 | "check:publish": "deno publish --dry-run --allow-dirty", |
| 14 | "fmt": "oxfmt --write ." |
| 15 | }, |
| 16 | "dependencies": { |
| 17 | "@clo/lib": "npm:@jsr/clo__lib@3.0.0", |
| 18 | "@types/react": "^19", |
| 19 | "dequal": "^2", |
| 20 | "hast-util-to-jsx-runtime": "^2", |
| 21 | "react": "^19", |
| 22 | "rehype-react": "^8", |
| 23 | "remark-parse": "^11", |
| 24 | "remark-rehype": "^11", |
| 25 | "unified": "^11" |
| 26 | }, |
| 27 | "devDependencies": { |
| 28 | "@tailwindcss/typography": "^0.5.19", |
| 29 | "@tailwindcss/vite": "^4.2.2", |
| 30 | "@testing-library/react": "^16.3.2", |
| 31 | "@types/hast": "^3.0.4", |
| 32 | "@types/node": "^25.5.0", |
| 33 | "@types/react-dom": "~19", |
| 34 | "@types/unist": "^3.0.3", |
| 35 | "@vitejs/plugin-react": "^6.0.1", |
| 36 | "happy-dom": "^20.8.4", |
| 37 | "oxfmt": "^0.40.0", |
| 38 | "oxlint": "^1.55.0", |
| 39 | "oxlint-tsgolint": "^0.17.1", |
| 40 | "react-dom": "^19.2.4", |
| 41 | "react-markdown": "^10.1.0", |
| 42 | "react-scan": "^0.5.3", |
| 43 | "remark-gfm": "^4.0.1", |
| 44 | "streamdown": "^2.5.0", |
| 45 | "tailwindcss": "^4.2.2", |
| 46 | "typescript": "^5.9.3", |
| 47 | "vite": "^8.0.0", |
| 48 | "vitest": "^4.0.0" |
| 49 | }, |
| 50 | "packageManager": "pnpm@10.26.1" |
| 51 | } |