{
  "name": "appium-uiautomator2-server",
  "version": "9.11.1",
  "description": "A netty server with uiautomator2 handlers",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/appium/appium-uiautomator2-server"
  },
  "keywords": [
    "appium",
    "android",
    "uiautomator2"
  ],
  "engines": {
    "node": "^20.19.0 || ^22.12.0 || >=24.0.0",
    "npm": ">=10"
  },
  "author": "Appium Contributors",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/appium/appium-uiautomator2-server/issues"
  },
  "files": [
    "./index.js",
    "./apks",
    "CHANGELOG.md"
  ],
  "homepage": "https://github.com/appium/appium-uiautomator2-server",
  "scripts": {
    "bump-gradle-version": "node ./scripts/gradle-version-update.mjs --package-version=${npm_package_version} && git add gradle.properties",
    "build": "./gradlew clean assembleServerDebug assembleServerDebugAndroidTest && npm run move-apks && npm run sign-apk",
    "sign-apk": "node ./scripts/sign-apk.mjs",
    "lint:java": "./gradlew lint",
    "lint": "eslint .",
    "lint:fix": "npm run lint -- --fix",
    "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",
    "test": "./gradlew testServerDebugUnitTest"
  },
  "devDependencies": {
    "@appium/eslint-config-appium-ts": "^3.0.0",
    "@appium/support": "^7.0.0-rc.1",
    "@semantic-release/changelog": "^6.0.1",
    "@semantic-release/git": "^10.0.1",
    "appium-adb": "^14.0.0",
    "conventional-changelog-conventionalcommits": "^9.0.0",
    "semantic-release": "^25.0.2",
    "semver": "^7.3.7"
  }
}
