-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 3.4 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 3.4 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
{
"name": "notehub",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"dev:tauri": "tauri dev",
"build": "tsc && vite build",
"build:tauri": "TAURI_SIGNING_PRIVATE_KEY_PASSWORD='' TAURI_SIGNING_PRIVATE_KEY=$(cat $HOME/.tauri/notehub.key) tauri build",
"preview": "vite preview",
"tauri": "tauri",
"kill": "lsof -ti :1420 | xargs kill -9 2>/dev/null; echo 'Port 1420 cleared'",
"lint:rust": "cd src-tauri && cargo clippy --all-targets -- -D warnings",
"fmt:rust": "cd src-tauri && cargo fmt",
"fmt:rust:check": "cd src-tauri && cargo fmt -- --check",
"test": "yarn test:js && yarn test:rust",
"test:js": "vitest run",
"test:rust": "cd src-tauri && cargo test",
"test:rust:coverage": "cd src-tauri && cargo llvm-cov --summary-only",
"test:watch": "vitest",
"generate-signer-keys/": "npx tauri signer generate -w ~/.tauri/notehub.key --ci"
},
"dependencies": {
"@codemirror/language": "^6.12.3",
"@codemirror/language-data": "^6.5.2",
"@milkdown/crepe": "^7.21.1",
"@milkdown/kit": "^7.21.1",
"@milkdown/plugin-diagram": "^7.7.0",
"@milkdown/react": "^7.21.1",
"@monaco-editor/react": "^4.7.0",
"@tauri-apps/api": "^2.2.0",
"@tauri-apps/plugin-dialog": "^2.2.0",
"@tauri-apps/plugin-fs": "^2.2.0",
"@tauri-apps/plugin-opener": "^2.2.0",
"@tauri-apps/plugin-process": "^2.3.1",
"@tauri-apps/plugin-updater": "^2.10.0",
"@tiptap/extension-placeholder": "^2.11.0",
"@tiptap/extension-task-item": "^2.11.0",
"@tiptap/extension-task-list": "^2.11.0",
"@tiptap/react": "^2.11.0",
"@tiptap/starter-kit": "^2.11.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"ag-grid-community": "^33.0.0",
"ag-grid-react": "^33.0.0",
"buffer": "^6.0.3",
"codemirror": "^6.0.2",
"gray-matter": "^4.0.3",
"marked": "^18.0.4",
"monaco-editor": "^0.55.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sonner": "^2.0.7"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.19",
"@tauri-apps/cli": "^2.10.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^22",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"jsdom": "^28.1.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5.6.3",
"vite": "^6.0.5",
"vitest": "^4.0.18"
},
"comment:overrides": "Force a single copy of the core ProseMirror packages. Milkdown (@milkdown/kit/prose/*) and Tiptap (@tiptap/pm) both pull prosemirror-view; without these pins a fresh install on a machine with no committed lockfile (yarn.lock/package-lock.json are gitignored) can nest a second prosemirror-view under @milkdown/prose. The two copies have nominally-incompatible EditorView types (private `directPlugins` field), which breaks `tsc` in milkdown-image-paste.ts / milkdown-code-language.ts. `overrides` is honored by npm, `resolutions` by yarn.",
"overrides": {
"prosemirror-view": "1.41.6",
"prosemirror-state": "1.4.4",
"prosemirror-model": "1.25.4",
"prosemirror-transform": "1.11.0"
},
"resolutions": {
"prosemirror-view": "1.41.6",
"prosemirror-state": "1.4.4",
"prosemirror-model": "1.25.4",
"prosemirror-transform": "1.11.0"
}
}