forked from appium/appium-uiautomator2-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.74 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
{
"name": "appium-uiautomator2-server",
"version": "2.3.0",
"description": "A netty server with uiautomator2 handlers",
"main": "index.js",
"windowsBuildDir": "c:/tmp",
"repository": {
"type": "git",
"url": "https://github.com/appium/appium-uiautomator2-server"
},
"keywords": [
"appium",
"android",
"uiautomator2"
],
"author": "https://github.com/appium",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/appium/appium-uiautomator2-server/issues"
},
"files": [
"/lib",
"/apks"
],
"homepage": "https://github.com/appium/appium-uiautomator2-server",
"scripts": {
"clean": "rm -rf node_modules && rm -f package-lock.json && npm install",
"bump-gradle-version": "gulp gradle-version-update --package-version=${npm_package_version} && git add app/build.gradle",
"build": "./gradlew clean assembleServerDebug assembleServerDebugAndroidTest && npm run move-apks && gulp transpile && npm run sign-apk",
"sign-apk": "node ./build/lib/scripts/sign-apk.js",
"move-server": "cp app/build/outputs/apk/server/debug/appium-uiautomator2-server-v${npm_package_version}.apk ./apks",
"move-test": "cp app/build/outputs/apk/androidTest/server/debug/appium-uiautomator2-server-debug-androidTest.apk ./apks",
"move-apks": "rm -rf apks && mkdir -p apks && npm run move-server && npm run move-test",
"version": "npm run bump-gradle-version && npm run build",
"clean-device": "adb uninstall io.appium.uiautomator2.server && adb uninstall io.appium.uiautomator2.server.test"
},
"devDependencies": {
"android-apidemos": "^3.0.0",
"appium-adb": "^6.21.1",
"appium-android-driver": "^4.3.1",
"appium-gulp-plugins": "^3.1.0",
"asyncbox": "^2.5.0",
"gulp": "^4.0.0"
}
}