summaryrefslogtreecommitdiff
path: root/package.json
blob: 206b1ef76330b8cd5211402be5a118d92166c9be (plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
{
  "name": "zmninjapro",
  "description": "Home security mobile app for ZoneMinder",
  "version": "1.4.003",
  "displayName": "zmNinja",
  "author": "Pliable Pixels",
  "license": "custom see LICENSE.md",
  "cordova": {
    "platforms": [
      "android",
      "ios"
    ],
    "plugins": {
      "cordova-plugin-customurlscheme": {
        "URL_SCHEME": "zmninja",
        "ANDROID_SCHEME": " ",
        "ANDROID_HOST": " ",
        "ANDROID_PATHPREFIX": "/"
      },
      "cordova-plugin-file-transfer": {},
      "cordova-plugin-globalization": {},
      "cordova-plugin-insomnia": {},
      "cordova-plugin-pin-dialog": {},
      "cordova-plugin-whitelist": {},
      "cordova-sqlite-storage": {},
      "cordova-plugin-android-fingerprint-auth": {},
      "cordova-plugin-network-information": {},
      "cordova-plugin-device": {},
      "cordova-plugin-file": {},
      "cordova-library-helper-pp-fork": {},
      "cordova-plugin-multi-window": {},
      "cordova-plugin-ignore-lint-translation": {},
      "cordova-plugin-cloud-settings": {
        "ANDROID_BACKUP_SERVICE_KEY": "AEdPqrEAAAAIqF-OaHdwIzZhx2L1WOfAGTagBxm5a1R4wBW_Uw"
      },
      "cordova-custom-config": {},
      "cordova-plugin-advanced-websocket": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-add-swift-support": {},
      "cordova-plugin-photo-library": {
        "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Save monitor photos to albums"
      },
      "cordova-support-google-services": {},
      "phonegap-plugin-push": {
        "ANDROID_SUPPORT_V13_VERSION": "27.+",
        "FCM_VERSION": "17.0.+"
      },
      "cordova-plugin-advanced-http": {
        "OKHTTP_VERSION": "3.10.0"
      },
      "cordova-plugin-x-socialsharing": {
        "ANDROID_SUPPORT_V4_VERSION": "24.1.1+",
        "PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.",
        "PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly."
      },
      "cordova-plugin-ionic-keyboard": {},
      "cordova-plugin-touch-id": {
        "FACEID_USAGE_DESCRIPTION": ""
      },
      "cordova-plugin-android-permissions": {},
      "cordova-plugin-inappbrowser": {},
      "cordova-plugin-app-version": {},
      "cordova-plugin-statusbar-pp-fork": {},
      "cordova-plugin-media-pp-fork": {}
    }
  },
  "dependencies": {
    "clivas": "^0.2.0",
    "cordova-android": "8.0.0",
    "cordova-custom-config": "^5.1.0",
    "cordova-ios": "5.1.1",
    "cordova-library-helper-pp-fork": "^1.0.1",
    "cordova-plugin-add-swift-support": "1.7.2",
    "cordova-plugin-advanced-http": "git+https://github.com/silkimen/cordova-plugin-advanced-http.git",
    "cordova-plugin-advanced-websocket": "^1.1.5",
    "cordova-plugin-android-fingerprint-auth": "^1.5.0",
    "cordova-plugin-android-permissions": "1.0.2",
    "cordova-plugin-app-version": "0.1.9",
    "cordova-plugin-cloud-settings": "^1.0.4",
    "cordova-plugin-customurlscheme": "^4.4.0",
    "cordova-plugin-device": "^2.0.3",
    "cordova-plugin-file": "6.0.2",
    "cordova-plugin-file-transfer": "^1.7.1",
    "cordova-plugin-globalization": "^1.11.0",
    "cordova-plugin-ignore-lint-translation": "0.0.1",
    "cordova-plugin-inappbrowser": "git+https://github.com/apache/cordova-plugin-inappbrowser.git",
    "cordova-plugin-insomnia": "^4.3.0",
    "cordova-plugin-ionic-keyboard": "2.2.0",
    "cordova-plugin-media-pp-fork": "^1.0.2-dev",
    "cordova-plugin-multi-window": "0.0.3",
    "cordova-plugin-network-information": "^2.0.2",
    "cordova-plugin-photo-library": "git+https://github.com/pliablepixels/cordova-plugin-photo-library.git",
    "cordova-plugin-pin-dialog": "^0.1.3",
    "cordova-plugin-splashscreen": "git+https://github.com/prageeth/cordova-plugin-splashscreen.git",
    "cordova-plugin-statusbar-pp-fork": "2.4.4-dev",
    "cordova-plugin-touch-id": "3.4.0",
    "cordova-plugin-whitelist": "^1.3.4",
    "cordova-plugin-x-socialsharing": "5.6.4",
    "cordova-sqlite-storage": "^1.5.3",
    "cordova-support-google-services": "1.3.2",
    "deep-equal": "^1.0.1",
    "define-properties": "^1.1.3",
    "dialog": "^0.3.1",
    "electron-osx-sign": "^0.4.15",
    "electron-window-state": "^4.1.1",
    "es-abstract": "^1.17.0",
    "es6-promise-plugin": "4.2.2",
    "function-bind": "^1.1.1",
    "has": "^1.0.3",
    "has-symbols": "^1.0.1",
    "is-arguments": "^1.0.4",
    "is-date-object": "^1.0.2",
    "is-regex": "^1.0.5",
    "jsonfile": "^4.0.0",
    "keypress": "^0.2.1",
    "menu": "^0.2.5",
    "minimist": "^1.2.0",
    "mkdirp": "^0.5.1",
    "object-is": "^1.0.2",
    "object-keys": "^1.1.1",
    "phonegap-plugin-multidex": "^1.0.0",
    "phonegap-plugin-push": "2.3.0",
    "regexp.prototype.flags": "^1.3.0"
  },
  "devDependencies": {
    "@ionic/v1-toolkit": "^1.0.14",
    "bower": "^1.8.4",
    "dotenv": "^8.2.0",
    "electron": "^3.1.3",
    "electron-builder": "^22.4.0",
    "electron-cli": "^0.2.8",
    "electron-notarize": "^0.2.1",
    "gulp": "^3.9.1",
    "gulp-concat": "^2.6.1",
    "gulp-minify-css": "^1.2.4",
    "gulp-rename": "^1.2.3",
    "gulp-sass": "^4.0.1",
    "npm-version": "^1.1.0"
  },
  "scripts": {
    "electron": "electron .",
    "dist-win": "./electron_js/sync_versions.sh && ./node_modules/.bin/electron-builder -w",
    "dist-lin": "./electron_js/sync_versions.sh && ./node_modules/.bin/electron-builder -l",
    "dist-mac": "./electron_js/sync_versions.sh && ./node_modules/.bin/electron-builder -m",
    "dist-all": "./electron_js/sync_versions.sh && ./node_modules/.bin/electron-builder -wlm"
  },
  "main": "electron_js/main.js",
  "build": {
    "artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
    "appId": "com.pliablepixels.zmninja-pro",
    "productName": "zmninja-pro",
    "compression": "normal",
    "asar": true,
    "afterSign": "electron_js/notarize.js",
    "directories": {
      "buildResources": "electron_js/icons"
    },
    "files": [
      "electron_js/main.js",
      "www/**/*",
      "!node_modules/**/*",
      "resources/icon.png"
    ],
    "extraResources": [
      "node_modules/electron-window-state/**/*",
      "node_modules/jsonfile/**/*",
      "node_modules/mkdirp/**/*",
      "node_modules/deep-equal/**/*",
      "node_modules/minimist/**/*",
      "node_modules/menu/**/*",
      "node_modules/clivas/**/*",
      "node_modules/keypress/**/*",
      "node_modules/define-properties/**/*",
      "node_modules/es-abstract/**/*",
      "node_modules/function-bind/**/*",
      "node_modules/has/**/*",
      "node_modules/has-symbols/**/*",
      "node_modules/is-arguments/**/*",
      "node_modules/is-date-object/**/*",
      "node_modules/is-regex/**/*",
      "node_modules/object-is/**/*",
      "node_modules/object-keys/**/*",
      "node_modules/regexp.prototype.flags/**/*"
    ],
    "dmg": {
      "sign": false
    },
    "mac": {
      "category": "productivity",
      "target": "dmg",
      "icon": "icon.png",
      "identity": "Pliable Pixels, LLC (EN3PJ8YF59)",
      "entitlements": "build/entitlements.mac.plist",
      "entitlementsInherit": "build/entitlements.mac.plist",
      "hardenedRuntime": true,
      "gatekeeperAssess": false
    },
    "win": {
      "icon": "icon.ico",
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64",
            "ia32"
          ]
        }
      ]
    },
    "linux": {
      "category": "Utility",
      "desktop": {
        "Name": "zmNinja"
      },
      "target": [
        {
          "target": "AppImage",
          "arch": [
            "x64",
            "ia32",
            "armv7l"
          ]
        }
      ]
    }
  }
}