-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.5 KB
/
Copy pathpackage.json
File metadata and controls
116 lines (116 loc) · 3.5 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
{
"name": "nexusviewer",
"private": true,
"version": "1.0.0",
"type": "module",
"main": "electron/main.cjs",
"description": "NexusViewer — a minimal, developer-focused Markdown viewer and editor.",
"author": "ZachDreamZ",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"electron:start": "npm run build && electron .",
"electron:clean": "node -e \"require('fs').readdirSync('.').filter(d=>d.startsWith('dist_electron')).forEach(d=>require('fs').rmSync(d,{recursive:true,force:true}))\"",
"electron:build": "npm run electron:clean && npm run build && electron-builder",
"electron:build:portable": "npm run build && electron-builder --win portable --config.forceCodeSigning=false",
"electron:build:installer": "npm run build && electron-builder --win nsis --config.forceCodeSigning=false",
"electron:build:all": "npm run build && electron-builder --win portable nsis --config.forceCodeSigning=false",
"electron:build:linux": "npm run build && electron-builder --linux AppImage --config.forceCodeSigning=false",
"setup:opencode": "node scripts/setup-opencode-skills.cjs"
},
"build": {
"appId": "com.nexusviewer.markdown",
"productName": "NexusViewer",
"directories": {
"output": "dist_electron_v4"
},
"files": [
"dist/**/*",
"electron/**/*"
],
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "portable",
"arch": [
"x64"
]
},
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"linux": {
"icon": "build/icon.png",
"target": [
{
"target": "AppImage",
"arch": ["x64"]
}
],
"category": "Office",
"artifactName": "NexusViewer-${version}-${arch}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "NexusViewer",
"uninstallDisplayName": "NexusViewer",
"deleteAppDataOnUninstall": false,
"artifactName": "NexusViewer-Setup-${version}.${ext}"
},
"portable": {
"artifactName": "NexusViewer-Portable-${version}.${ext}"
}
},
"dependencies": {
"chokidar": "^5.0.0",
"js-yaml": "^4.2.0",
"katex": "^0.16.47",
"lucide-react": "^1.17.0",
"mermaid": "^11.15.0",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^16.1.1",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tailwindcss/postcss": "^4.3.0",
"@tailwindcss/typography": "^0.5.20",
"@types/js-yaml": "^4.0.9",
"@types/node": "^24.12.3",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/react-syntax-highlighter": "^15.5.13",
"@vitejs/plugin-react": "^6.0.1",
"autoprefixer": "^10.5.0",
"electron": "^42.4.0",
"electron-builder": "^26.15.2",
"eslint": "^10.3.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.6.0",
"postcss": "^8.5.15",
"tailwindcss": "^4.3.0",
"typescript": "~6.0.2",
"typescript-eslint": "^8.59.2",
"vite": "^8.0.12"
},
"allowScripts": {
"electron-winstaller@5.4.0": true
}
}