Add remark-math + rehype-katex plugins to render inline ($...$) and display ($$...$$) math expressions. Includes dark mode CSS overrides, streaming block splitting for math fences, and math range exclusion in link preprocessing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
59 lines
1.7 KiB
JSON
59 lines
1.7 KiB
JSON
{
|
|
"name": "@multica/ui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"sideEffects": [
|
|
"**/*.css"
|
|
],
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint src"
|
|
},
|
|
"exports": {
|
|
"./globals.css": "./src/styles/globals.css",
|
|
"./postcss.config": "./postcss.config.mjs",
|
|
"./lib/*": "./src/lib/*.ts",
|
|
"./components/*": "./src/components/*.tsx",
|
|
"./components/ui/*": "./src/components/ui/*.tsx",
|
|
"./components/markdown": "./src/components/markdown/index.ts",
|
|
"./components/markdown/*": "./src/components/markdown/*.tsx",
|
|
"./hooks/*": "./src/hooks/*.ts"
|
|
},
|
|
"dependencies": {
|
|
"@base-ui/react": "^1.1.0",
|
|
"@hugeicons/core-free-icons": "catalog:",
|
|
"@hugeicons/react": "catalog:",
|
|
"@multica/store": "workspace:*",
|
|
"@tiptap/extension-placeholder": "^3.19.0",
|
|
"@tiptap/pm": "^3.19.0",
|
|
"@tiptap/react": "^3.19.0",
|
|
"@tiptap/starter-kit": "^3.19.0",
|
|
"class-variance-authority": "catalog:",
|
|
"clsx": "catalog:",
|
|
"katex": "^0.16.28",
|
|
"linkify-it": "^5.0.0",
|
|
"next-themes": "^0.4.6",
|
|
"qr-scanner": "^1.4.2",
|
|
"react": "catalog:",
|
|
"react-dom": "catalog:",
|
|
"react-markdown": "^10.1.0",
|
|
"rehype-katex": "^7.0.1",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"shadcn": "^3.7.0",
|
|
"shiki": "^3.21.0",
|
|
"sonner": "^2.0.7",
|
|
"tailwind-merge": "catalog:",
|
|
"tailwindcss": "catalog:",
|
|
"tw-animate-css": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "catalog:",
|
|
"@types/linkify-it": "^5.0.0",
|
|
"@types/react": "catalog:",
|
|
"@types/react-dom": "catalog:",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|