package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "name": "appium-webdriveragent",
  3. "version": "5.8.0",
  4. "description": "Package bundling WebDriverAgent",
  5. "main": "./build/index.js",
  6. "scripts": {
  7. "build": "tsc -b",
  8. "dev": "npm run build -- --watch",
  9. "clean": "npm run build -- --clean",
  10. "lint": "eslint .",
  11. "lint:fix": "npm run lint -- --fix",
  12. "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
  13. "precommit-lint": "lint-staged",
  14. "prepare": "npm run build",
  15. "test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.js\"",
  16. "e2e-test": "mocha --exit --timeout 10m \"./test/functional/**/*-specs.js\"",
  17. "bundle": "npm run bundle:ios && npm run bundle:tv",
  18. "bundle:ios": "TARGET=runner SDK=sim node ./Scripts/build-webdriveragent.js",
  19. "bundle:tv": "TARGET=tv_runner SDK=tv_sim node ./Scripts/build-webdriveragent.js",
  20. "fetch-prebuilt-wda": "node ./Scripts/fetch-prebuilt-wda.js"
  21. },
  22. "engines": {
  23. "node": ">=14",
  24. "npm": ">=8"
  25. },
  26. "lint-staged": {
  27. "*.js": [
  28. "eslint --fix"
  29. ]
  30. },
  31. "prettier": {
  32. "bracketSpacing": false,
  33. "printWidth": 100,
  34. "singleQuote": true
  35. },
  36. "pre-commit": [
  37. "precommit-msg",
  38. "precommit-lint"
  39. ],
  40. "repository": {
  41. "type": "git",
  42. "url": "git+https://github.com/appium/WebDriverAgent.git"
  43. },
  44. "keywords": [
  45. "Appium",
  46. "iOS",
  47. "WebDriver",
  48. "Selenium",
  49. "WebDriverAgent"
  50. ],
  51. "author": "Appium Contributors",
  52. "license": "Apache-2.0",
  53. "bugs": {
  54. "url": "https://github.com/appium/WebDriverAgent/issues"
  55. },
  56. "homepage": "https://github.com/appium/WebDriverAgent#readme",
  57. "devDependencies": {
  58. "@appium/eslint-config-appium": "^8.0.4",
  59. "@appium/eslint-config-appium-ts": "^0.3.1",
  60. "@appium/test-support": "^3.0.0",
  61. "@appium/tsconfig": "^0.3.0",
  62. "@appium/types": "^0.13.2",
  63. "@semantic-release/changelog": "^6.0.1",
  64. "@semantic-release/git": "^10.0.1",
  65. "@types/bluebird": "^3.5.38",
  66. "@types/chai": "^4.3.5",
  67. "@types/chai-as-promised": "^7.1.5",
  68. "@types/lodash": "^4.14.196",
  69. "@types/mocha": "^10.0.1",
  70. "@types/node": "^20.4.7",
  71. "@types/sinon": "^10.0.16",
  72. "@types/sinon-chai": "^3.2.9",
  73. "@types/teen_process": "2.0.0",
  74. "@typescript-eslint/eslint-plugin": "^5.62.0",
  75. "@typescript-eslint/parser": "^5.62.0",
  76. "appium-xcode": "^5.0.0",
  77. "chai": "^4.2.0",
  78. "chai-as-promised": "^7.1.1",
  79. "conventional-changelog-conventionalcommits": "^6.0.0",
  80. "eslint": "^8.46.0",
  81. "eslint-config-prettier": "^8.9.0",
  82. "eslint-import-resolver-typescript": "^3.5.5",
  83. "eslint-plugin-import": "^2.28.0",
  84. "eslint-plugin-mocha": "^10.1.0",
  85. "eslint-plugin-promise": "^6.1.1",
  86. "lint-staged": "^14.0.0",
  87. "mocha": "^10.0.0",
  88. "pre-commit": "^1.2.2",
  89. "prettier": "^3.0.0",
  90. "semantic-release": "^20.0.2",
  91. "sinon": "^15.0.0",
  92. "ts-node": "^10.9.1",
  93. "typescript": "^5.1.6"
  94. },
  95. "dependencies": {
  96. "@appium/base-driver": "^9.0.0",
  97. "@appium/strongbox": "^0.x",
  98. "@appium/support": "^4.0.0",
  99. "appium-ios-device": "^2.5.0",
  100. "appium-ios-simulator": "^5.0.1",
  101. "async-lock": "^1.0.0",
  102. "asyncbox": "^2.5.3",
  103. "axios": "^1.4.0",
  104. "bluebird": "^3.5.5",
  105. "lodash": "^4.17.11",
  106. "node-simctl": "^7.0.1",
  107. "source-map-support": "^0.x",
  108. "teen_process": "^2.0.0"
  109. },
  110. "files": [
  111. "index.js",
  112. "lib",
  113. "build/index.js",
  114. "build/lib",
  115. "Scripts/build.sh",
  116. "Scripts/fetch-prebuilt-wda.js",
  117. "Scripts/build-webdriveragent.js",
  118. "Configurations",
  119. "PrivateHeaders",
  120. "WebDriverAgent.xcodeproj",
  121. "WebDriverAgentLib",
  122. "WebDriverAgentRunner",
  123. "WebDriverAgentTests",
  124. "XCTWebDriverAgentLib",
  125. "CHANGELOG.md"
  126. ]
  127. }