aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-client/package.json
blob: 614e6d6a8acf7abfb6f78693fde9ca28c3b9a1c3 (plain) (blame)
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
75
{
  "name": "meshbay-client",
  "version": "0.13.0",
  "description": "MeshBay desktop client \u2014 the interface ships with the application, not from the hub",
  "license": "AGPL-3.0-or-later",
  "author": "MeshBay Team <team@meshbay.org>",
  "homepage": "https://meshbay.org",
  "main": "src/main.js",
  "private": true,
  "scripts": {
    "start": "electron .",
    "sync-ui": "node scripts/sync-ui.js",
    "dist": "bash ../../packaging/build/build-client.sh",
    "dist:win": "powershell -NoProfile -ExecutionPolicy Bypass -File ../../packaging/win/build-win.ps1",
    "dist:win:light": "powershell -NoProfile -ExecutionPolicy Bypass -File ../../packaging/win/build-win-light.ps1"
  },
  "devDependencies": {
    "electron": "^44.2.0",
    "electron-builder": "^26.15.3"
  },
  "build": {
    "appId": "org.meshbay.client",
    "productName": "MeshBay",
    "files": [
      "src/**",
      "ui/**"
    ],
    "win": {
      "target": "nsis",
      "icon": "build/icon.ico",
      "artifactName": "${productName}-Setup-${version}.${ext}",
      "extraResources": [
        {
          "from": "node-runtime",
          "to": "node-runtime",
          "filter": [
            "**/*"
          ]
        },
        {
          "from": "../../packaging/win/firewall.ps1",
          "to": "firewall.ps1"
        },
        {
          "from": "../../packaging/win/service.ps1",
          "to": "service.ps1"
        },
        {
          "from": "../../packaging/win/service-mode.ps1",
          "to": "service-mode.ps1"
        }
      ]
    },
    "nsis": {
      "oneClick": false,
      "perMachine": false,
      "allowElevation": false,
      "allowToChangeInstallationDirectory": true,
      "createDesktopShortcut": true,
      "createStartMenuShortcut": true,
      "deleteAppDataOnUninstall": false,
      "runAfterFinish": true
    }
  },
  "dependencies": {
    "bonjour-service": "^1.4.4",
    "castv2-client": "^1.2.0"
  },
  "overrides": {
    "protobufjs": "^7.6.5"
  },
  "allowScripts": {
    "electron@44.2.0": true
  }
}