Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
159 lines (159 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
159 lines (159 loc) · 3.59 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "cyberviewer",
"version": "1.17.0",
"description": "CyberViewer — Visor de imágenes rápido y centrado, por CyberGems",
"main": "main.js",
"author": "CyberGems <info@cybergems.org>",
"license": "GPL-3.0",
"scripts": {
"start": "electron .",
"build": "electron-builder --win --x64 --publish never",
"build:portable": "electron-builder --win portable --x64 --publish never",
"test": "node --test test/**/*.test.js",
"lint": "eslint main.js preload.js tray-preload.js lib test js",
"i18n:sync": "node scripts/sync-i18n-ui.js"
},
"dependencies": {
"electron-updater": "^6.6.2"
},
"devDependencies": {
"electron": "^35.5.1",
"electron-builder": "^24.0.0",
"eslint": "^9.0.0"
},
"build": {
"appId": "com.cybergems.cyberviewer",
"productName": "CyberViewer",
"copyright": "© 2026 CyberGems",
"directories": {
"output": "dist"
},
"files": [
"CyberViewer.html",
"main.js",
"preload.js",
"tray-preload.js",
"tray-menu.html",
"css/**",
"js/**",
"lib/**",
"i18n/**",
"assets/**"
],
"extraResources": [
{
"from": "electron/open-taskbar-settings.exe",
"to": "open-taskbar-settings.exe"
}
],
"publish": {
"provider": "github",
"owner": "CyberGems",
"repo": "CyberViewer"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "assets/icon.ico",
"fileAssociations": [
{
"ext": [
"jpg",
"jpeg"
],
"name": "JPEG Image",
"description": "JPEG Image",
"role": "Viewer"
},
{
"ext": [
"png"
],
"name": "PNG Image",
"description": "PNG Image",
"role": "Viewer"
},
{
"ext": [
"gif"
],
"name": "GIF Image",
"description": "GIF Image",
"role": "Viewer"
},
{
"ext": [
"webp"
],
"name": "WebP Image",
"description": "WebP Image",
"role": "Viewer"
},
{
"ext": [
"bmp"
],
"name": "BMP Image",
"description": "BMP Image",
"role": "Viewer"
},
{
"ext": [
"tiff",
"tif"
],
"name": "TIFF Image",
"description": "TIFF Image",
"role": "Viewer"
},
{
"ext": [
"ico"
],
"name": "Icon Image",
"description": "Icon Image",
"role": "Viewer"
},
{
"ext": [
"avif"
],
"name": "AVIF Image",
"description": "AVIF Image",
"role": "Viewer"
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "CyberViewer",
"artifactName": "${productName}-Setup-${version}.${ext}",
"runAfterFinish": true,
"installerLanguages": [
"en_US",
"es_ES"
],
"warningsAsErrors": false,
"include": "build/installer.nsh"
},
"portable": {
"artifactName": "${productName}-Portable-${version}.${ext}"
}
}
}