-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 2.18 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 2.18 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
{
"name": "pandda-inspect",
"productName": "Reinspect",
"version": "0.1.1",
"private": true,
"description": "Reinspect — an independent prototype client for reviewing PanDDA events (spawns the frozen Django backend, loads the Moorhen client). Not affiliated with the PanDDA project.",
"author": {
"name": "Martin Noble",
"email": "martin.noble@ncl.ac.uk"
},
"license": "MIT",
"main": "electron/main.js",
"scripts": {
"start": "electron .",
"dev:electron": "PANDDA_DEV_URL=http://localhost:5173 electron .",
"dev": "trap 'kill 0' EXIT; python manage.py runserver 8000 & npm --prefix client run dev:fast & PANDDA_DEV_URL=http://localhost:5173 electron .",
"dist": "electron-builder",
"dist:dir": "electron-builder --dir"
},
"devDependencies": {
"@electron/notarize": "^2.3.0",
"electron": "^31.0.0",
"electron-builder": "^24.13.3"
},
"build": {
"appId": "org.pandda.inspect",
"productName": "Reinspect",
"files": [
"electron/**/*",
"package.json"
],
"directories": {
"output": "release"
},
"afterSign": "electron/notarize.js",
"artifactName": "Reinspect-${version}-${os}-${arch}.${ext}",
"icon": "electron/icon.png",
"mac": {
"category": "public.app-category.education",
"target": ["dmg", "zip"],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "electron/entitlements.mac.plist",
"entitlementsInherit": "electron/entitlements.mac.plist",
"notarize": false,
"extraResources": [
{
"from": "dist/pandda-inspect-backend",
"to": "backend/pandda-inspect-backend"
}
]
},
"win": {
"target": ["nsis", "portable"],
"extraResources": [
{
"from": "dist/pandda-inspect-backend.exe",
"to": "backend/pandda-inspect-backend.exe"
}
]
},
"linux": {
"category": "Science",
"target": ["AppImage", "deb"],
"maintainer": "Martin Noble <martin.noble@ncl.ac.uk>",
"extraResources": [
{
"from": "dist/pandda-inspect-backend",
"to": "backend/pandda-inspect-backend"
}
]
}
}
}