summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-client/package.json
blob: 57acff8b90d162d8e1ad4f3da3760e87f536c45c (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
{
  "name": "meshbay-client",
  "version": "0.1.0",
  "description": "MeshBay desktop client — 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"
  },
  "devDependencies": {
    "electron": "^44.1.1",
    "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": ["**/*"]
        }
      ]
    },
    "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.1.1": true
  }
}