-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.25 KB
/
Copy pathpackage.json
File metadata and controls
41 lines (41 loc) · 1.25 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
{
"name": "lan-image",
"version": "1.1.2",
"description": "A local image viewer with waterfall layout",
"author": "LanImage",
"main": "src/main/main.js",
"scripts": {
"start": "electron .",
"build": "electron-builder --win --x64",
"pack": "electron-packager . LanImage --platform=win32 --arch=x64 --out=out --overwrite --icon=assets/icons/icon.ico --ignore=\"^/(\\.git|\\.idea|\\.trae|node_modules|docs|build)\" --ignore=\"^/(README|AGENTS)\\.md\" --ignore=\"^/\\.gitignore\" && move \"out\\LanImage-win32-x64\" \"out\\LanImage-%npm_package_version%-win32-x64\""
},
"build": {
"appId": "com.lanimage.app",
"productName": "LanImage",
"afterPack": "./src/build/afterPack.js",
"directories": {
"output": "dist"
},
"files": [
"src/**/*",
"assets/icons/icon.ico",
"assets/icons/icon.png",
"package.json"
],
"win": {
"icon": "assets/icons/icon.ico",
"target": "nsis",
"signAndEditExecutable": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"include": "src/build/installer.nsh"
}
},
"devDependencies": {
"electron": "^33.0.0",
"electron-builder": "^25.0.0",
"electron-packager": "^17.1.2"
}
}