96 lines
2.8 KiB
JSON
96 lines
2.8 KiB
JSON
{
|
|
"name": "@hunter/desktop",
|
|
"version": "2.0.0",
|
|
"description": "狩夜人笔记 — 本地优先的 Markdown 知识库",
|
|
"author": "hunter-dev",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "dist-electron/main/index.js",
|
|
"build": {
|
|
"appId": "com.hunter.notes",
|
|
"productName": "HunterNotes",
|
|
"directories": {
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist-electron/**/*",
|
|
"package.json"
|
|
],
|
|
"asar": true,
|
|
"win": {
|
|
"target": [
|
|
"nsis",
|
|
"dir"
|
|
]
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"build": "electron-vite build",
|
|
"typecheck": "tsc -b",
|
|
"test:e2e": "electron-vite build && playwright test",
|
|
"test:stress": "electron-vite build && cross-env STRESS=1 playwright test stress",
|
|
"dist": "electron-vite build && cross-env ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ electron-builder --win"
|
|
},
|
|
"dependencies": {
|
|
"@hunter/shared": "workspace:*",
|
|
"@tiptap/core": "^3.30.2",
|
|
"@tiptap/extension-character-count": "^3.30.2",
|
|
"@tiptap/extension-code-block-lowlight": "^3.30.2",
|
|
"@tiptap/extension-image": "^3.30.2",
|
|
"@tiptap/extension-link": "^3.30.2",
|
|
"@tiptap/extension-placeholder": "^3.30.2",
|
|
"@tiptap/extension-table": "^3.30.2",
|
|
"@tiptap/extension-table-cell": "^3.30.2",
|
|
"@tiptap/extension-table-header": "^3.30.2",
|
|
"@tiptap/extension-table-row": "^3.30.2",
|
|
"@tiptap/extension-task-item": "^3.30.2",
|
|
"@tiptap/extension-task-list": "^3.30.2",
|
|
"@tiptap/pm": "^3.30.2",
|
|
"@tiptap/react": "^3.30.2",
|
|
"@tiptap/starter-kit": "^3.30.2",
|
|
"@tiptap/suggestion": "^3.30.2",
|
|
"hotkeys-js": "^4.0.5",
|
|
"katex": "^0.16.47",
|
|
"lowlight": "^3.3.0",
|
|
"lucide-react": "^1.37.0",
|
|
"markmap-view": "^0.18.12",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-math": "^6.0.0",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-stringify": "^11.0.0",
|
|
"tiptap-markdown": "^0.9.0",
|
|
"unified": "^11.0.5",
|
|
"zustand": "^5.0.15"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.62.1",
|
|
"@types/d3-drag": "^3.0.7",
|
|
"@types/d3-force": "^3.0.10",
|
|
"@types/d3-selection": "^3.0.11",
|
|
"@types/d3-zoom": "^3.0.8",
|
|
"@types/katex": "^0.16.8",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^18.3.0",
|
|
"@types/react-dom": "^18.3.0",
|
|
"cross-env": "^10.1.0",
|
|
"d3-drag": "^3.0.0",
|
|
"d3-force": "^3.0.0",
|
|
"d3-selection": "^3.0.0",
|
|
"d3-zoom": "^3.0.0",
|
|
"electron": "^30.0.0",
|
|
"electron-builder": "^26.15.3",
|
|
"electron-vite": "^2.3.0",
|
|
"playwright": "^1.62.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"typescript": "^5.6.0",
|
|
"vite": "^5.4.0",
|
|
"vitest": "^2.1.0"
|
|
}
|
|
}
|