-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.75 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 1.75 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
{
"name": "amandla",
"version": "1.0.0",
"description": "AMANDLA — Communication bridge for disabled South Africans",
"main": "src/main.js",
"scripts": {
"start": "concurrently \"npm run backend\" \"wait-on http-get://localhost:8000/health && electron .\"",
"electron": "electron .",
"backend": "python -m uvicorn backend.main:app --host 127.0.0.1 --port 8000 --reload",
"dev": "electron . --inspect",
"build": "electron-builder",
"build:backend": "python scripts/build_backend.py",
"build:all": "npm run build:backend && npm run build",
"generate-icons": "python scripts/generate_icons.py",
"convert-fbx": "blender --background --python scripts/fbx_to_glb.py",
"retarget-sasl": "blender --background --python scripts/retarget_sasl_to_mixamo.py"
},
"devDependencies": {
"concurrently": "^8.0.0",
"electron": "^35.7.5",
"electron-builder": "^25.0.0",
"wait-on": "^7.0.0"
},
"build": {
"appId": "co.za.amandla",
"productName": "AMANDLA",
"directories": {
"output": "dist"
},
"extraResources": [
{
"from": "dist/amandla-backend",
"to": "backend",
"filter": ["**/*"]
},
{
"from": "data",
"to": "data",
"filter": ["**/*"]
},
{
"from": ".env.example",
"to": ".env.example"
}
],
"win": {
"target": "nsis",
"icon": "assets/icons/icon.ico"
},
"mac": {
"target": "dmg",
"icon": "assets/icons/icon.icns",
"category": "public.app-category.healthcare"
},
"linux": {
"target": ["AppImage", "deb"],
"icon": "assets/icons/icon.png",
"category": "Accessibility"
}
},
"dependencies": {
"electron-updater": "^6.8.3"
}
}