-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.07 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.07 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
{
"name": "markdown-viewer",
"private": true,
"version": "0.3.1",
"description": "A local-first Markdown reader and editor packaged for web and desktop.",
"author": "Chatchai.j <chatchai.j98@gmail.com>",
"license": "MIT",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite --host 127.0.0.1",
"build": "tsc -p tsconfig.json && vite build",
"preview": "vite preview --host 127.0.0.1",
"desktop": "npm run build && electron .",
"desktop:dev": "concurrently -k \"npm:dev\" \"wait-on http://127.0.0.1:5173 && electron . --dev-server=http://127.0.0.1:5173\"",
"desktop:build": "npm run build && electron-builder --win nsis portable"
},
"build": {
"appId": "com.chatchai98.markdownviewer",
"productName": "Markdown Viewer",
"directories": {
"output": "release/V0.3.1"
},
"files": [
"dist/**/*",
"electron/**/*",
"assets/icon.ico",
"package.json"
],
"win": {
"icon": "assets/icon.ico",
"target": [
"nsis",
"portable"
]
},
"extraResources": [
{
"from": "assets/icon.ico",
"to": "icon.ico"
}
],
"nsis": {
"artifactName": "${productName} Setup-${version}-${arch}.${ext}",
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true
},
"portable": {
"artifactName": "${productName} Portable-${version}-${arch}.${ext}"
}
},
"dependencies": {
"highlight.js": "^11.11.1",
"lucide-react": "^1.17.0",
"mermaid": "^11.6.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-markdown": "^10.1.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1"
},
"devDependencies": {
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"@vitejs/plugin-react": "^5.0.0",
"concurrently": "^10.0.3",
"electron": "^42.3.3",
"electron-builder": "^26.15.2",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"wait-on": "^9.0.10"
}
}