| 1 | { |
| 2 | "name": "@clo/markdown-editor", |
| 3 | "private": true, |
| 4 | "description": "headless CodeMirror 6 markdown editor with Obsidian-style live preview: composer preset, mention chips, and a thin React binding", |
| 5 | "license": "ISC", |
| 6 | "repository": { |
| 7 | "type": "git", |
| 8 | "url": "https://shale.paperclover.net/hexi.git", |
| 9 | "directory": "sys/lib/markdown-editor" |
| 10 | }, |
| 11 | "type": "module", |
| 12 | "main": "src/index.ts", |
| 13 | "exports": { |
| 14 | ".": "./src/index.ts", |
| 15 | "./react": "./src/react.tsx" |
| 16 | }, |
| 17 | "scripts": { |
| 18 | "typecheck": "tsc-rs --noEmit -p tsconfig.browser.json", |
| 19 | "test": "vp test run --config ../../vite.config.ts --dir ." |
| 20 | }, |
| 21 | "devDependencies": { |
| 22 | "@codemirror/commands": "^6.8.1", |
| 23 | "@codemirror/lang-javascript": "^6.2.5", |
| 24 | "@codemirror/lang-markdown": "^6.5.0", |
| 25 | "@codemirror/language": "^6.12.3", |
| 26 | "@codemirror/state": "^6.6.0", |
| 27 | "@codemirror/view": "^6.43.1", |
| 28 | "@lezer/common": "^1.5.2", |
| 29 | "@types/react": "~19.3.0", |
| 30 | "react": "^19.2.0", |
| 31 | "vite-plus": "catalog:" |
| 32 | }, |
| 33 | "peerDependencies": { |
| 34 | "@codemirror/commands": "^6.8.1", |
| 35 | "@codemirror/lang-markdown": "^6.5.0", |
| 36 | "@codemirror/language": "^6.12.3", |
| 37 | "@codemirror/state": "^6.6.0", |
| 38 | "@codemirror/view": "^6.43.1", |
| 39 | "@lezer/common": "^1.5.2", |
| 40 | "react": "^19.2.0" |
| 41 | }, |
| 42 | "peerDependenciesMeta": { |
| 43 | "react": { |
| 44 | "optional": true |
| 45 | } |
| 46 | }, |
| 47 | "packageManager": "pnpm@10.12.4" |
| 48 | } |