This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
forked from advanced-rest-client/arc-electron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
309 lines (309 loc) · 11.6 KB
/
package.json
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
{
"name": "advanced-rest-client",
"description": "The Advanced REST Client desktop application.",
"version": "15.0.7",
"homepage": "https://advancedrestclient.com",
"license": "Apache-2.0",
"author": {
"name": "Pawel Psztyc",
"email": "arc@mulesoft.com"
},
"repository": {
"url": "https://github.com/advanced-rest-client/arc-electron"
},
"scripts": {
"start": "electron . --inspect --debug --debug-level=\"silly\" --skip-app-update --skip-themes-update --workspace-path=\"~/arc-dev/workspace\" --settings-file=\"~/arc-dev/dev-settings.json\" --themes-path=\"~/arc-dev/themes\"",
"start:api": "node dev-api/api.js",
"postinstall": "electron-builder install-app-deps",
"prepare": "pika-web && node tasks/prepare-app.js",
"test": "npm run test:main && npm run test:renderer && npm run test:app",
"test:main": "NODE_ENV=test ELECTRON_PATH=node_modules/.bin/electron electron-mocha test/**/*.main.spec.js scripts/packages/**/*.main.spec.js",
"test:renderer": "NODE_ENV=test ELECTRON_PATH='node_modules/.bin/electron' electron-mocha --renderer --require-main 'test/renderer-setup-paths.js' scripts/packages/**/*.renderer.spec.js",
"test:renderer:watch": "NODE_ENV=test ELECTRON_PATH='node_modules/.bin/electron' electron-mocha --watch --renderer --require-main 'test/renderer-setup-paths.js' scripts/packages/**/*.renderer.spec.js",
"test:app": "NODE_ENV=test ELECTRON_PATH=node_modules/.bin/electron mocha test/**/*.app.spec.js --timeout 10000",
"test:win:all": "npm run test-win-main && npm run test:win:renderer && npm run test:win:app",
"test:win:main": "node node_modules/.bin/electron-mocha test/**/*.main.spec.js scripts/packages/**/*.main.spec.js",
"test:win:renderer": "node node_modules/.bin/electron-mocha --renderer scripts/packages/**/*.renderer.spec.js",
"test:win:app": "node node_modules/.bin/mocha test/**.app.spec.js",
"build-l": "npx electron-builder -l",
"build-w": "npx electron-builder -w",
"build-m": "npx electron-builder -m",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"start-drive": "electron . --inspect --debug --debug-level=\"silly\" --with-devtools --workspace-path=\"~/arc-dev/workspace\" --settings-file=\"~/arc-dev/dev-settings.json\" --themes-path=\"~/arc-dev/themes\" arc-file://drive/open/1_PAI-CGHqi_pZCV8ZZ_9_N-LGMjkAYzn",
"resetmodules": "rm -rf node_modules/ && rm -rf web_modules/ && rm package-lock.json && npm i"
},
"main": "main.js",
"devDependencies": {
"@advanced-rest-client/about-arc-electron": "^3.0.0",
"@advanced-rest-client/arc-app-mixin": "^4.0.0",
"@advanced-rest-client/arc-definitions": "^3.1.0",
"@advanced-rest-client/arc-icons": "^3.1.0",
"@advanced-rest-client/arc-info-messages": "^3.0.0",
"@advanced-rest-client/arc-onboarding": "^3.0.1",
"@advanced-rest-client/client-certificates-panel": "^1.0.4",
"@advanced-rest-client/eslint-config": "^1.1.5",
"@advanced-rest-client/exchange-search-panel": "^3.0.3",
"@advanced-rest-client/host-rules-editor": "^3.0.0",
"@advanced-rest-client/rest-apis-list-panel": "^3.0.0",
"@advanced-rest-client/themes-panel": "^3.0.0",
"@anypoint-web-components/anypoint-dialog": "^0.1.1",
"@api-components/api-candidates-dialog": "^3.0.0",
"@api-components/api-documentation": "^4.1.2",
"@api-components/api-navigation": "^4.1.1",
"@pika/web": "^0.6.1",
"@polymer/app-layout": "^3.1.0",
"@polymer/app-route": "^3.0.2",
"@polymer/font-roboto-local": "^3.0.2",
"@polymer/iron-media-query": "^3.0.1",
"@polymer/iron-test-helpers": "^3.0.1",
"babel-eslint": "^10.1.0",
"body-parser": "^1.19.0",
"chai": "^4.2.0",
"cors": "^2.8.5",
"cross-env": "^6.0.3",
"dotenv": "^8.2.0",
"electron": "^8.3.0",
"electron-builder": "^22.6.1",
"electron-mocha": "^8.2.2",
"electron-notarize": "^0.2.1",
"electron-windows-store": "^2.1.0",
"eslint-config-google": "^0.14.0",
"esm": "^3.2.25",
"express": "^4.17.1",
"express-session": "^1.17.1",
"glob": "^7.1.6",
"lit-element": "^2.3.0",
"mocha": "^7.2.0",
"sinon": "^9.0.2",
"spectron": "^10.0.1",
"web-animations-js": "^2.3.2"
},
"dependencies": {
"@advanced-rest-client/arc-electron-payload-processor": "^0.4.0",
"@advanced-rest-client/code-mirror-hint": "^3.0.2",
"@advanced-rest-client/code-mirror-linter": "^3.0.0",
"@advanced-rest-client/electron-amf-service": "^3.0.0",
"@advanced-rest-client/electron-drive": "^0.4.0",
"@advanced-rest-client/electron-oauth2": "^2.1.3",
"@advanced-rest-client/electron-request": "^2.4.0",
"@advanced-rest-client/electron-session-state": "^2.1.1",
"amf-client-js": "^4.1.1",
"camelcase": "^5.3.1",
"codemirror": "^5.54.0",
"crypto-js": "^3.3.0",
"electron-log": "^4.2.0",
"electron-prompt": "^1.5.0",
"electron-updater": "4.2.2",
"fs-extra": "^8.1.0",
"jexl": "^2.2.2",
"jsonlint": "^1.6.3",
"live-plugin-manager": "^0.14.1",
"mime-types": "^2.1.27",
"node-fetch": "^2.6.1",
"ntlm": "^0.1.3",
"semver": "^7.3.2",
"uuid": "^3.3.3",
"winston": "^3.2.1",
"yargs": "^15.3.1"
},
"build": {
"appId": "com.mulesoft.arc",
"productName": "AdvancedRestClient",
"artifactName": "arc-${version}-${arch}.${ext}",
"asar": true,
"copyright": "Copyright © 2018 Mulesoft",
"generateUpdatesFilesForAllChannels": true,
"forceCodeSigning": true,
"detectUpdateChannel": true,
"npmRebuild": true,
"buildDependenciesFromSource": false,
"afterSign": "tasks/notarize.js",
"files": [
"app.html",
"app.js",
"main.js",
"package.json",
"assets/",
"web_modules/",
"node_modules/",
"menus/",
"scripts/",
"src/",
"appresources/"
],
"mac": {
"category": "public.app-category.developer-tools",
"icon": "build/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"target": [
{
"target": "dmg",
"arch": [
"x64"
]
},
{
"target": "zip",
"arch": [
"x64"
]
}
]
},
"dmg": {
"sign": false,
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"category": "Development",
"target": [
{
"target": "deb",
"arch": [
"x64",
"ia32"
]
},
{
"target": "rpm",
"arch": [
"x64",
"ia32"
]
},
{
"target": "tar.gz",
"arch": [
"x64",
"ia32"
]
},
{
"target": "AppImage",
"arch": [
"x64",
"ia32"
]
}
],
"vendor": "Mulesoft",
"synopsis": "A developer tool to test HTTP requests",
"artifactName": "arc-linux-${version}-${arch}.${ext}"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
]
},
"appx": {
"applicationId": "AdvancedRestClient",
"identityName": "48695PawelPsztyc.advanced-rest-client",
"publisher": "CN=D213CA20-88CE-42AC-A9F2-C5D41BF04550",
"publisherDisplayName": "Pawel Psztyc"
},
"nsis": {
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"artifactName": "arc-setup-${arch}.${ext}",
"shortcutName": "ARC"
},
"publish": [
{
"provider": "github",
"owner": "advanced-rest-client",
"repo": "arc-electron"
}
],
"protocols": {
"name": "ARC file open",
"schemes": [
"arc-file"
]
}
},
"oauth2": {
"client_id": "1076318174169-u4a5d3j2v0tbie1jnjgsluqk1ti7ged3.apps.googleusercontent.com",
"auth_uri": "https://accounts.google.com/o/oauth2/v2/auth",
"redirect_uri": "https://auth.advancedrestclient.com/oauth2",
"scopes": [
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/drive.install"
]
},
"@pika/web": {
"webDependencies": [
"jexl/lib/Jexl.js",
"lit-element/lit-element.js",
"@polymer/paper-toast/paper-toast.js",
"@polymer/iron-test-helpers/iron-test-helpers.js",
"@advanced-rest-client/arc-icons/ArcIcons.js",
"@advanced-rest-client/arc-messages-service/arc-messages-service.js",
"@advanced-rest-client/arc-messages-service/arc-messages-service-worker.js",
"@advanced-rest-client/arc-info-messages/arc-info-messages.js",
"@advanced-rest-client/exchange-search-panel/exchange-search-panel.js",
"@advanced-rest-client/host-rules-editor/host-rules-editor.js",
"@advanced-rest-client/about-arc-electron/about-arc-electron.js",
"@advanced-rest-client/arc-app-mixin/arc-app-mixin.js",
"@advanced-rest-client/arc-app-mixin/AppStyles.js",
"@advanced-rest-client/themes-panel/themes-panel.js",
"@advanced-rest-client/variables-preview-overlay/variables-preview-overlay.js",
"@advanced-rest-client/arc-request-workspace/arc-request-workspace.js",
"@advanced-rest-client/project-details/project-details.js",
"@advanced-rest-client/cookie-manager/cookie-manager.js",
"@advanced-rest-client/arc-settings-panel/arc-settings-panel.js",
"@advanced-rest-client/websocket-panel/websocket-panel.js",
"@advanced-rest-client/google-drive-browser/google-drive-browser.js",
"@advanced-rest-client/import-panel/import-panel.js",
"@advanced-rest-client/export-panel/export-panel.js",
"@advanced-rest-client/history-panel/history-panel.js",
"@advanced-rest-client/saved-requests-panel/saved-requests-panel.js",
"@advanced-rest-client/variables-drawer-editor/variables-drawer-editor.js",
"@advanced-rest-client/arc-menu/arc-menu.js",
"@api-components/api-candidates-dialog/api-candidates-dialog.js",
"@api-components/raml-aware/raml-aware.js",
"@api-components/api-documentation/api-documentation.js",
"@api-components/api-navigation/api-navigation.js",
"@api-components/amf-helper-mixin/amf-helper-mixin.js",
"@advanced-rest-client/arc-file-drop-mixin/arc-file-drop-mixin.js",
"@advanced-rest-client/arc-electron-payload-processor/payload-processor-esm.js",
"@polymer/font-roboto-local/roboto.js",
"@polymer/paper-spinner/paper-spinner.js",
"web-animations-js/web-animations.min.js",
"pouchdb/dist/pouchdb.js",
"@advanced-rest-client/pouchdb-quick-search/dist/pouchdb.quick-search.min.js",
"marked/lib/marked.js",
"@anypoint-web-components/anypoint-button/anypoint-icon-button.js",
"@anypoint-web-components/anypoint-input/anypoint-input.js",
"@anypoint-web-components/anypoint-item/anypoint-item.js",
"lit-html/directives/repeat.js",
"@advanced-rest-client/arc-onboarding/arc-onboarding.js",
"@advanced-rest-client/rest-apis-list-panel/rest-apis-list-panel.js",
"@advanced-rest-client/client-certificates-panel/client-certificates-panel.js",
"@advanced-rest-client/client-certificates-panel/certificate-import.js",
"@advanced-rest-client/arc-models/client-certificate-model.js",
"@anypoint-web-components/anypoint-dialog/anypoint-dialog.js",
"@anypoint-web-components/anypoint-dialog/anypoint-dialog-scrollable.js"
]
}
}