Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.42 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.42 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
{
"name": "ip-window",
"version": "1.1.6",
"description": "A draggable floating widget showing current IP address and location",
"main": "main.js",
"scripts": {
"start": "electron .",
"icons": "electron render-png.js",
"dist:win": "electron-builder --win --x64",
"dist:mac": "electron-builder --mac --x64 --arm64",
"dist": "electron-builder -mw"
},
"author": "",
"license": "MIT",
"dependencies": {
"koffi": "^2.9.0"
},
"devDependencies": {
"electron": "^31.0.0",
"electron-builder": "^24.13.3"
},
"build": {
"appId": "com.local.ipwindow",
"productName": "IPWindow",
"files": [
"main.js",
"preload.js",
"index.html",
"renderer.js",
"styles.css",
"taskbar-win.js",
"taskbar.html",
"taskbar.css",
"taskbar-renderer.js",
"popover.html",
"popover-renderer.js",
"assets/**",
"node_modules/koffi/**"
],
"asarUnpack": [
"node_modules/koffi/**"
],
"win": {
"target": "nsis",
"icon": "build/icon.png",
"artifactName": "IPWindow-${version}-win-x64.${ext}"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "build/icon.icns",
"category": "public.app-category.utilities",
"artifactName": "IPWindow-${version}-mac-${arch}.${ext}"
}
}
}