{ "name": "@comark/plugin-katex", "version": "0.9.2", "description": "KaTeX math plugin for Comark. Renders inline and display math in HTML, ANSI, Vue, React, Svelte and Angular.", "keywords": [ "comark", "katex", "latex", "markdown", "markdown-plugin", "math", "plugin", "react", "svelte", "vue" ], "homepage": "https://comark.dev/plugins/official/katex", "bugs": { "url": "https://github.com/comarkdown/comark/issues" }, "license": "MIT", "author": "", "repository": { "type": "git", "url": "git+https://github.com/comarkdown/comark.git" }, "files": [ "dist", "katex.css" ], "type": "module", "sideEffects": [ "katex.css" ], "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": "./dist/index.js", "./katex": "./dist/katex.js", "./html": "./dist/html.js", "./ansi": "./dist/ansi.js", "./vue": "./dist/vue.js", "./react": "./dist/react.js", "./angular": { "types": "./dist/angular/types/comark-plugin-katex.d.ts", "default": "./dist/angular/fesm2022/comark-plugin-katex.mjs" }, "./svelte": { "types": "./dist/svelte/index.d.ts", "svelte": "./dist/svelte/index.js", "default": "./dist/svelte/index.js" }, "./katex.css": "./katex.css" }, "publishConfig": { "access": "public" }, "scripts": { "stub": "node ../../scripts/stub.mjs", "build": "tsc -p tsconfig.build.json && svelte-package -i src/svelte -o dist/svelte -p && ng-packagr -p ng-package.json && node scripts/strip-sourcemaps.mjs", "dev": "tsc -p tsconfig.build.json --watch", "test": "vitest run", "prepack": "pnpm run build" }, "dependencies": { "comark": "workspace:*", "katex": "catalog:" }, "devDependencies": { "@angular/compiler-cli": "catalog:", "@angular/core": "catalog:", "@sveltejs/package": "catalog:", "@types/react": "catalog:", "ng-packagr": "catalog:", "react": "catalog:", "svelte": "catalog:", "tslib": "catalog:", "vitest": "catalog:", "vue": "catalog:" }, "peerDependencies": { "@angular/core": ">=21.0.0 <23.0.0", "react": "^19.3.0", "svelte": "^5.57.1", "vue": "^3.5.43" }, "peerDependenciesMeta": { "@angular/core": { "optional": true }, "react": { "optional": true }, "svelte": { "optional": true }, "vue": { "optional": true } } }