summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2026-03-11 18:16:45 -0500
committerhaoyuren <13851610112@163.com>2026-03-11 18:16:45 -0500
commitebec1a1073f9cc5b69e125d5b284669545ea3d9f (patch)
tree731ae664b9966b6fbd269c55be2ba5c01ee3341f /package.json
Initial commit: ClaudeTeX - LaTeX editor with Overleaf sync
Features: - Electron + React + TypeScript app with Cosmic Latte theme - CodeMirror 6 editor with LaTeX syntax highlighting - PDF preview with pdf.js, zoom controls, SyncTeX double-click jump - File tree with context menu (new/rename/delete/reveal) - Overleaf Git clone with token auth + macOS Keychain storage - Git pull/push sync for Overleaf projects - Embedded terminal (xterm.js + node-pty) with Claude CLI integration - LaTeX compilation via latexmk with auto package install detection - Structured compile log (errors/warnings) with click-to-navigate - Main document setting (auto-detect or right-click to set) - Custom modal system (input/confirm/alert) - Resizable panel layout (file tree | editor | PDF + terminal) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..a12e423
--- /dev/null
+++ b/package.json
@@ -0,0 +1,43 @@
+{
+ "name": "claude-tex",
+ "version": "0.1.0",
+ "description": "LaTeX editor with Claude AI integration and Overleaf sync",
+ "main": "./out/main/index.js",
+ "scripts": {
+ "dev": "electron-vite dev",
+ "build": "electron-vite build",
+ "preview": "electron-vite preview",
+ "postinstall": "electron-builder install-app-deps",
+ "pack": "electron-builder --dir",
+ "dist": "electron-builder"
+ },
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.18.0",
+ "@codemirror/commands": "^6.6.0",
+ "@codemirror/language": "^6.10.0",
+ "@codemirror/legacy-modes": "^6.4.0",
+ "@codemirror/search": "^6.5.0",
+ "@codemirror/state": "^6.4.0",
+ "@codemirror/view": "^6.34.0",
+ "@xterm/addon-fit": "^0.10.0",
+ "@xterm/xterm": "^5.5.0",
+ "chokidar": "^4.0.0",
+ "node-pty": "^1.0.0",
+ "pdfjs-dist": "^4.9.155",
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1",
+ "react-resizable-panels": "^2.1.0",
+ "simple-git": "^3.27.0",
+ "zustand": "^5.0.0"
+ },
+ "devDependencies": {
+ "@types/react": "^18.3.11",
+ "@types/react-dom": "^18.3.1",
+ "@vitejs/plugin-react": "^4.3.0",
+ "electron": "^33.0.0",
+ "electron-builder": "^25.1.0",
+ "electron-vite": "^2.3.0",
+ "typescript": "^5.6.0",
+ "vite": "^5.4.0"
+ }
+}