-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.39 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 1.39 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
{
"name": "ploteverything-desktop",
"version": "1.0.0",
"private": true,
"author": "Dr. Bin Cao",
"description": "Desktop packaging for PlotEverything.",
"main": "desktop/main.js",
"scripts": {
"dist:win": "electron-builder --win zip --publish never",
"dist:mac": "electron-builder --mac zip --publish never"
},
"devDependencies": {
"@electron/notarize": "^2.5.0",
"electron": "^31.7.7",
"electron-builder": "^24.13.3"
},
"build": {
"appId": "io.github.bin-cao.ploteverything",
"productName": "PlotEverything",
"afterSign": "desktop/notarize.js",
"asar": true,
"files": [
"desktop/main.js",
"index.html",
"README.md",
"data/**",
"crystal-viewer/**"
],
"extraResources": [
{
"from": "desktop/backend-dist/",
"to": "backend/"
}
],
"mac": {
"target": [
"zip"
],
"category": "public.app-category.education",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "desktop/entitlements.mac.plist",
"entitlementsInherit": "desktop/entitlements.mac.plist",
"artifactName": "${productName}-${version}-mac-${arch}.${ext}"
},
"win": {
"target": [
"zip"
],
"artifactName": "${productName}-${version}-win-${arch}.${ext}"
},
"directories": {
"output": "dist-desktop"
}
}
}