appium-uiautomator2-server 5.6.2 → 5.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -9,4 +9,4 @@ module.exports = {
9
9
  SERVER_APK_PATH,
10
10
  TEST_APK_PATH,
11
11
  version,
12
- };
12
+ };
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "appium-uiautomator2-server",
3
- "version": "5.6.2",
3
+ "version": "5.7.0",
4
4
  "description": "A netty server with uiautomator2 handlers",
5
5
  "main": "index.js",
6
- "windowsBuildDir": "c:/tmp",
7
6
  "repository": {
8
7
  "type": "git",
9
8
  "url": "https://github.com/appium/appium-uiautomator2-server"
@@ -13,36 +12,45 @@
13
12
  "android",
14
13
  "uiautomator2"
15
14
  ],
16
- "author": "https://github.com/appium",
15
+ "engines": {
16
+ "node": ">=14",
17
+ "npm": ">=8"
18
+ },
19
+ "author": "Appium Contributors",
17
20
  "license": "Apache-2.0",
18
21
  "bugs": {
19
22
  "url": "https://github.com/appium/appium-uiautomator2-server/issues"
20
23
  },
21
24
  "files": [
22
25
  "./index.js",
23
- "/apks"
26
+ "./apks"
24
27
  ],
25
28
  "homepage": "https://github.com/appium/appium-uiautomator2-server",
26
29
  "scripts": {
27
30
  "clean": "rm -rf node_modules && rm -f package-lock.json && npm install",
28
- "bump-gradle-version": "gulp gradle-version-update --package-version=${npm_package_version} && git add app/build.gradle",
31
+ "bump-gradle-version": "node ./scripts/gradle-version-update.js --package-version=${npm_package_version} && git add app/build.gradle",
29
32
  "build": "./gradlew clean assembleServerDebug assembleServerDebugAndroidTest && npm run move-apks && npm run sign-apk",
30
- "sign-apk": "gulp sign-apk",
33
+ "sign-apk": "node ./scripts/sign-apk.js",
34
+ "lint": "eslint .",
35
+ "lint:fix": "npm run lint -- --fix",
31
36
  "move-server": "cp app/build/outputs/apk/server/debug/appium-uiautomator2-server-v${npm_package_version}.apk ./apks",
32
37
  "move-test": "cp app/build/outputs/apk/androidTest/server/debug/appium-uiautomator2-server-debug-androidTest.apk ./apks",
33
38
  "move-apks": "rm -rf apks && mkdir -p apks && npm run move-server && npm run move-test",
34
39
  "version": "npm run bump-gradle-version && npm run build",
35
- "clean-device": "adb uninstall io.appium.uiautomator2.server && adb uninstall io.appium.uiautomator2.server.test"
40
+ "clean-device": "adb uninstall io.appium.uiautomator2.server && adb uninstall io.appium.uiautomator2.server.test",
41
+ "test": "./gradlew testServerDebugUnitTest"
36
42
  },
37
43
  "devDependencies": {
38
- "@appium/gulp-plugins": "^7.0.0",
39
- "@appium/support": "^2.53.0",
44
+ "@appium/eslint-config-appium": "^6.0.0",
40
45
  "@semantic-release/git": "^10.0.1",
41
46
  "android-apidemos": "^4.0.0",
42
47
  "appium-adb": "^9.0.0",
43
- "appium-android-driver": "^5.0.0",
44
48
  "bluebird": "^3.7.2",
45
- "gulp": "^4.0.0",
46
- "semantic-release": "^19.0.2"
49
+ "fancy-log": "^2.0.0",
50
+ "eslint": "^7.32.0",
51
+ "eslint-config-prettier": "^8.5.0",
52
+ "eslint-plugin-promise": "^6.0.0",
53
+ "semantic-release": "^19.0.2",
54
+ "semver": "^7.3.7"
47
55
  }
48
56
  }