-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 5.32 KB
/
package.json
File metadata and controls
160 lines (160 loc) · 5.32 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
{
"name": "coflat",
"version": "2.0.0",
"description": "Semantic document editor for mathematical writing",
"type": "module",
"packageManager": "pnpm@10.33.0",
"files": [
"dist"
],
"exports": {
"./editor": {
"types": "./dist/editor.d.ts",
"import": "./dist/editor.mjs"
},
"./editor/style.css": "./dist/editor.css"
},
"scripts": {
"dev": "vite",
"dev:show": "vite --mode show --host localhost --port 5173 --strictPort",
"preview": "vite preview --host 0.0.0.0",
"dev:worktree": "node scripts/dev-worktree.mjs",
"dev:browser": "vite & sleep 2 && pnpm run chrome && wait",
"typecheck": "tsc --noEmit",
"typecheck:app": "tsc --noEmit -p tsconfig.app.json",
"typecheck:server": "tsc --noEmit -p server/tsconfig.json",
"build": "pnpm typecheck && vite build && pnpm build:editor",
"build:editor": "tsc -p tsconfig.editor.json && vite build --config vite.editor.config.ts",
"lint": "biome lint .",
"lint:boundaries": "node scripts/check-plugin-render-boundary.mjs",
"lint:fix": "biome lint . --write",
"test": "vitest run",
"test:focused": "node scripts/focused-vitest.mjs",
"test:watch": "vitest",
"test:changed": "vitest run --changed",
"typecheck:watch": "tsc --noEmit --watch",
"clean": "rm -rf dist",
"tauri:dev": "cargo tauri dev",
"tauri:build": "cargo tauri build",
"chrome": "pnpm chrome:app --",
"chrome:app": "node scripts/launch-chrome.mjs --activate",
"chrome:cdp": "node scripts/launch-chrome.mjs --no-activate",
"chrome:test": "node scripts/test-chrome.mjs",
"convert:latex": "python3 scripts/latex-to-coflat.py",
"test:browser": "node scripts/test-regression.mjs",
"perf:capture": "node scripts/perf-regression.mjs capture",
"perf:compare": "node scripts/perf-regression.mjs compare",
"perf:capture:heavy": "node scripts/perf-regression.mjs capture --heavy-doc",
"perf:compare:heavy": "node scripts/perf-regression.mjs compare --heavy-doc",
"smoke:editor-package": "node scripts/smoke-editor-package.mjs",
"knip": "knip",
"publint": "publint",
"size": "size-limit",
"build:analyze": "vite build --config vite.editor.config.ts --mode analyze",
"prepare": "lefthook install",
"prepack": "pnpm build:editor"
},
"size-limit": [
{
"name": "coflat/editor (JS)",
"path": "dist/editor.mjs",
"limit": "2000 kB"
},
{
"name": "coflat/editor (CSS)",
"path": "dist/editor.css",
"limit": "100 kB"
}
],
"license": "MIT",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"lefthook"
],
"patchedDependencies": {
"katex@0.16.38": "patches/katex@0.16.38.patch"
}
},
"dependencies": {
"@citation-js/core": "^0.7.21",
"@citation-js/plugin-bibtex": "^0.7.21",
"@citation-js/plugin-csl": "^0.7.22",
"@codemirror/autocomplete": "^6.20.1",
"@codemirror/commands": "^6.10.3",
"@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.0",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/lang-rust": "^6.0.2",
"@codemirror/language": "^6.12.2",
"@codemirror/search": "^6.6.0",
"@codemirror/state": "^6.6.0",
"@codemirror/view": "^6.40.0",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@floating-ui/dom": "^1.7.6",
"@headless-tree/core": "^1.6.3",
"@headless-tree/react": "^1.6.3",
"@lezer/common": "^1.5.1",
"@lezer/highlight": "^1.2.3",
"@lezer/markdown": "^1.6.3",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-context-menu": "^2.2.16",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slider": "^1.3.6",
"@radix-ui/react-tabs": "^1.1.13",
"@tauri-apps/api": "^2.0.0",
"@tauri-apps/plugin-dialog": "^2.0.0",
"@tauri-apps/plugin-log": "^2.0.0",
"chokidar": "^5.0.0",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"dompurify": "^3.3.3",
"hyphenopoly": "^6.1.0",
"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",
"tex-linebreak2": "^0.8.4",
"yaml": "^2.8.3",
"zustand": "^5.0.12"
},
"devDependencies": {
"@biomejs/biome": "^2.4.9",
"@overleaf/codemirror-tree-view": "^0.1.3",
"@size-limit/preset-small-lib": "^12.0.1",
"@tailwindcss/vite": "^4.2.2",
"@tauri-apps/cli": "^2.0.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/dompurify": "^3.0.5",
"@types/katex": "^0.16.8",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react-swc": "^4.3.0",
"fast-check": "^4.6.0",
"jsdom": "^29.0.0",
"knip": "^6.1.0",
"lefthook": "^2.1.4",
"playwright": "^1.58.2",
"publint": "^0.3.18",
"rollup-plugin-visualizer": "^7.0.1",
"size-limit": "^12.0.1",
"tailwindcss": "^4.2.2",
"typescript": "^5.9.3",
"vite": "^8.0.0",
"vitest": "^4.1.0"
}
}