-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
165 lines (165 loc) · 5.45 KB
/
Copy pathpackage.json
File metadata and controls
165 lines (165 loc) · 5.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "@chaoxu/coflat",
"version": "2.1.1",
"description": "Math-aware Markdown editor library built on CodeMirror 6, Lezer, and KaTeX.",
"type": "module",
"homepage": "http://chaoxu.prof/coflat/",
"repository": {
"type": "git",
"url": "git+https://github.com/chaoxu/coflat.git"
},
"bugs": {
"url": "https://github.com/chaoxu/coflat/issues"
},
"sideEffects": [
"**/*.css"
],
"license": "MIT",
"packageManager": "pnpm@10.33.0",
"files": [
"dist",
"patches"
],
"exports": {
".": {
"types": "./dist/editor.d.ts",
"import": "./dist/editor.mjs"
},
"./reader": {
"types": "./dist/reader.d.ts",
"import": "./dist/reader.mjs"
},
"./rich-readonly": {
"types": "./dist/rich-readonly.d.ts",
"import": "./dist/rich-readonly.mjs"
},
"./inline-render": {
"types": "./dist/inline-render.d.ts",
"import": "./dist/inline-render.mjs"
},
"./reader/worker": {
"types": "./dist/reader-worker.d.ts",
"import": "./dist/reader-worker.mjs"
},
"./document-surface.css": "./dist/document-surface.css",
"./parse": {
"types": "./dist/parse.d.ts",
"import": "./dist/parse.mjs"
},
"./citeproc": {
"types": "./dist/citeproc.d.ts",
"import": "./dist/citeproc.mjs"
},
"./numeric": {
"types": "./dist/numeric.d.ts",
"import": "./dist/numeric.mjs"
},
"./latex": {
"types": "./dist/latex.d.ts",
"import": "./dist/latex.mjs"
},
"./latex/csl/ieee.csl": "./dist/latex/csl/ieee.csl",
"./latex/filter.lua": "./dist/latex/filter.lua",
"./latex/syntax-manifest.lua": "./dist/latex/syntax-manifest.lua",
"./latex/template/article.tex": "./dist/latex/template/article.tex",
"./latex/template/lipics.tex": "./dist/latex/template/lipics.tex",
"./themes/blueprint-book.css": "./dist/themes/blueprint-book.css",
"./test-utils": {
"types": "./dist/test-utils.d.ts",
"import": "./dist/test-utils.js"
},
"./browser-test-utils": {
"types": "./dist/browser-test-utils.d.ts",
"import": "./dist/browser-test-utils.js"
},
"./style.css": "./dist/editor.css"
},
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.editor.json && vite build --config vite.editor.config.ts && find src -name '*.d.mts' -print0 | xargs -0 -I{} rsync -aR {} dist/ && find src -name '*.d.ts' -print0 | xargs -0 -I{} rsync -aR {} dist/ && tsc -p tsconfig.test-utils.json",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"publint": "publint",
"check:static": "pnpm typecheck && pnpm lint",
"dev:pages": "vite --config vite.pages.config.ts --host 127.0.0.1 --port 5190",
"build:pages": "vite build --config vite.pages.config.ts",
"measure:package-graph": "pnpm build && node scripts/measure-package-graph.mjs --assert",
"check:package": "pnpm build && pnpm publint",
"check:package-smoke": "pnpm build && node scripts/package-smoke.mjs",
"test:watch": "vitest",
"lint": "biome lint . && node scripts/check-layer-boundary.mjs",
"lint:layers": "node scripts/check-layer-boundary.mjs",
"publish:gitea": "node scripts/publish-gitea.mjs",
"prepack": "pnpm build && pnpm publint",
"test:e2e": "env -u NO_COLOR -u FORCE_COLOR playwright test tests/e2e/smoke.spec.ts",
"test:e2e:corpus": "node scripts/run-corpus-parity.mjs",
"e2e:install": "playwright install --with-deps chromium"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
],
"patchedDependencies": {
"katex@0.16.38": "patches/katex@0.16.38.patch",
"@lezer/markdown@1.7.2": "patches/@lezer__markdown@1.7.2.patch"
}
},
"peerDependencies": {
"@citation-js/core": "^0.7.21",
"@citation-js/plugin-bibtex": "^0.7.21",
"@citation-js/plugin-csl": "^0.7.22",
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/commands": "^6.10.4",
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-css": "^6.3.1",
"@codemirror/lang-html": "^6.4.11",
"@codemirror/lang-java": "^6.0.2",
"@codemirror/lang-javascript": "^6.2.5",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lang-markdown": "^6.5.1",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-rust": "^6.0.2",
"@codemirror/language": "^6.12.4",
"@codemirror/search": "^6.7.1",
"@codemirror/state": "^6.7.1",
"@codemirror/view": "^6.43.6",
"@floating-ui/dom": "^1.7.6",
"@lezer/common": "^1.5.2",
"@lezer/highlight": "^1.2.3",
"@lezer/markdown": "^1.7.2",
"@radix-ui/react-context-menu": "^2.2.16",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"dompurify": "^3.4.1",
"katex": "0.16.38",
"lucide-react": "^0.577.0",
"pathe": "^2.0.3",
"pdfjs-dist": "^5.5.207",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tailwind-merge": "^3.5.0",
"yaml": "^2.8.3",
"zustand": "^5.0.12"
},
"dependencies": {
"@overleaf/codemirror-tree-view": "^0.1.3",
"turndown": "^7.2.2"
},
"devDependencies": {
"@biomejs/biome": "^2.4.9",
"@types/turndown": "^5.0.6",
"@playwright/test": "^1.49.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/katex": "^0.16.8",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"fast-check": "^4.6.0",
"jsdom": "^29.0.0",
"publint": "^0.3.18",
"rollup-plugin-visualizer": "^7.0.1",
"typescript": "^5.9.3",
"vite": "^8.0.9",
"vitest": "^4.1.0"
}
}