forked from appium/appium-inspector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
217 lines (217 loc) · 7.36 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
{
"name": "appium-inspector",
"version": "2021.10.1",
"description": "An app inspector for use with an Appium server",
"repository": {
"type": "git",
"url": "git+https://github.com/appium/appium-inspector.git"
},
"author": {
"name": "Appium Developers",
"url": "https://github.com/appium"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/appium/appium-inspector/issues"
},
"keywords": [
"appium"
],
"assetsPath": "assets",
"homepage": "https://github.com/appium/appium-inspector",
"main": "dist/main.js",
"scripts": {
"test": "run-s test:*",
"test:lint": "eslint app test",
"test:unit": "cross-env BUILD_BROWSER=1 E2E_TIMEOUT=600000 NODE_ENV=test RUNNING_IN_SPECTRON=true mocha --reporter mocha-multi-reporters --reporter-options configFile=./test/mochareporters.json ./test/unit",
"test:integration": "cross-env BUILD_BROWSER=1 E2E_TIMEOUT=600000 NODE_ENV=test RUNNING_IN_SPECTRON=true mocha --reporter mocha-multi-reporters --reporter-options configFile=./test/mochareporters.json ./test/integration",
"e2e": "cross-env E2E_TIMEOUT=600000 NODE_ENV=test RUNNING_IN_SPECTRON=true mocha --reporter mocha-multi-reporters --reporter-options configFile=./test/mochareporters.json ./test/e2e",
"build": "run-s build:prod:*",
"build:main": "parcel build --target node --public-url . --out-dir ./dist --out-file main.js ./app/main.js",
"build:renderer": "parcel build --no-content-hash --out-dir ./dist --target electron --public-url . ./app/renderer/*.html",
"build:browser": "parcel build --no-content-hash --no-minify --out-dir ./dist-browser --target browser --public-url . ./app/renderer/index.html",
"watch:main": "parcel watch --target node --public-url . --out-dir ./dist --out-file main.js ./app/main.js",
"watch:renderer": "parcel watch --out-dir ./dist --target electron --public-url . ./app/renderer/*.html",
"watch:browser": "BUILD_BROWSER=1 NODE_ENV=development parcel serve --target browser ./app/renderer/index.html",
"build:prod:main": "cross-env NODE_ENV=production npm run build:main",
"build:prod:renderer": "cross-env NODE_ENV=production npm run build:renderer",
"build:prod:browser": "cross-env BUILD_BROWSER=1 NODE_ENV=production npm run build:browser",
"build:dev:main": "cross-env NODE_ENV=development npm run build:main",
"build:dev:renderer": "cross-env NODE_ENV=development npm run build:renderer",
"start": "cross-env RUNNING_LOCALLY=true electron ./",
"start:dev": "cross-env RUNNING_LOCALLY=true FORCE_NO_WRONG_FOLDER=true NODE_ENV=development electron --inspect ./",
"dev": "run-s build:dev:* && cross-env NODE_ENV=development concurrently --kill-others npm:start:dev npm:watch:main npm:watch:renderer",
"clean": "run-s clean:*",
"clean:electron": "rimraf dist/ && rimraf .cache",
"clean:browser": "rimraf dist-browser/ && rimraf .cache",
"clean:npm": "rimraf package-lock.json && rimraf node_modules && npm install",
"postversion": "git pull --tags && git push && git push --tags",
"crowdin-sync": "node ./gui-common/crowdin-sync-translations.js",
"copy-en-i18n": "node copy-en-i18n.js"
},
"build": {
"productName": "Appium Inspector",
"appId": "io.appium.inspector",
"asar": true,
"directories": {
"output": "release"
},
"mac": {
"category": "public.app-category.developer-tools",
"target": [
"dmg",
"zip"
]
},
"dmg": {
"artifactName": "${productName}-mac-${version}.${ext}",
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"files": [
"dist/",
"node_modules/**/*",
"main.js",
"main.js.map",
"package.json"
],
"win": {
"artifactName": "${productName}-windows-${version}.${ext}",
"target": [
"nsis",
"zip"
],
"icon": "build/icon.ico"
},
"nsisWeb": {
"oneClick": false
},
"nsis": {
"oneClick": false
},
"linux": {
"artifactName": "${productName}-linux-${version}.${ext}",
"target": [
"AppImage"
],
"category": "Development"
},
"publish": {
"provider": "github",
"owner": "appium",
"vPrefixedTagName": true
}
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"//dependencies": {
"history": "Can't upgrade to v5 yet because it breaks connected-react-router so far",
"ky": "Can't upgrade because newer versions are ESM and parcel tries to bundle them with require"
},
"dependencies": {
"antd": "^4.16.7",
"bluebird": "^3.5.5",
"cheerio": "^1.0.0-rc.3",
"connected-react-router": "^6.0.0",
"electron-debug": "^3.0.0",
"electron-log": "^4.0.0",
"electron-settings": "^4.0.2",
"electron-updater": "^4.2.0",
"font-awesome": "4.x",
"format-json": "1.x",
"highlight.js": "11.x",
"history": "^4.7.2",
"htmlparser2": "^7.1.2",
"i18next": "^20.3.1",
"i18next-chained-backend": "^3.0.2",
"i18next-http-backend": "^1.2.6",
"i18next-localstorage-backend": "^3.1.3",
"i18next-node-fs-backend": "^2.1.1",
"ky": "^0.25.1",
"lodash": "4.x",
"moment": "^2.20.1",
"prop-types": "^15.6.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.11.0",
"react-redux": "^7.0.0",
"react-router": "^5.0.0",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "2.x",
"request": "^2.88.2",
"request-promise": "^4.2.2",
"semver": "^7.3.5",
"source-map-support": "^0.5.0",
"uuid": "^8.2.0",
"web2driver": "^3.0.2",
"xmldom": "^0.6.0",
"xpath": "0.0.32"
},
"//devDependencies": {
"postcss-modules": "Can't upgrade any further until we upgrade to Parcel v2"
},
"devDependencies": {
"@appium/fake-driver": "^2.2.0",
"@babel/core": "^7.14.5",
"@babel/eslint-parser": "^7.14.4",
"@babel/eslint-plugin": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/preset-env": "^7.14.4",
"@babel/preset-react": "^7.12.13",
"@babel/register": "^7.14.5",
"asyncbox": "^2.5.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"check-engines": "^1.5.0",
"concurrently": "^6.2.0",
"cross-env": "^7.0.0",
"devtron": "^1.4.0",
"electron": "^13.1.8",
"electron-builder": "^22.13.0",
"electron-devtools-installer": "^3.0.0",
"eslint-config-appium": "^4.5.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-native": "^3.6.0",
"less": "^4.1.1",
"mkdirp": "^1.0.4",
"mocha": "^9.0.2",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi-reporters": "^1.1.7",
"ncp": "^2.0.0",
"node-libs-browser": "^2.1.0",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.10.3",
"parcel-plugin-asset-copier": "^1.0.0",
"postcss-modules": "^3.2.2",
"release": "^6.0.1",
"rimraf": "^3.0.0",
"sinon": "^11.1.1",
"spectron": "^15.0.0"
},
"devEngines": {
"node": ">=6.x",
"npm": ">=3.x"
},
"engines": {
"node": ">=10.x",
"npm": ">=5.x"
}
}