appium-espresso-driver 2.8.3 → 2.8.4

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/package.json CHANGED
@@ -7,8 +7,8 @@
7
7
  "automated testing",
8
8
  "android"
9
9
  ],
10
- "version": "2.8.3",
11
- "author": "appium",
10
+ "version": "2.8.4",
11
+ "author": "Appium Contributors",
12
12
  "license": "Apache-2.0",
13
13
  "repository": {
14
14
  "type": "git",
@@ -17,9 +17,20 @@
17
17
  "bugs": {
18
18
  "url": "https://github.com/appium/appium-espresso-driver/issues"
19
19
  },
20
- "engines": [
21
- "node"
22
- ],
20
+ "engines": {
21
+ "node": ">=14",
22
+ "npm": ">=8"
23
+ },
24
+ "lint-staged": {
25
+ "*.js": [
26
+ "eslint --fix"
27
+ ]
28
+ },
29
+ "prettier": {
30
+ "bracketSpacing": false,
31
+ "printWidth": 100,
32
+ "singleQuote": true
33
+ },
23
34
  "appium": {
24
35
  "driverName": "espresso",
25
36
  "automationName": "Espresso",
@@ -61,47 +72,52 @@
61
72
  "validate.js": "^0.x"
62
73
  },
63
74
  "scripts": {
64
- "clean": "rm -rf node_modules && rm -f package-lock.json && npm install",
65
- "build:server": "cd espresso-server && ./gradlew clean assembleAndroidTest && cd ..",
66
- "build:node": "gulp transpile",
67
75
  "build": "npm run build:node && npm run build:server",
68
- "mocha": "mocha",
69
- "test": "npm run lint && npm run test:node",
70
- "test:node": "gulp once",
71
- "test:server": "cd espresso-server && ./gradlew test --stacktrace && cd ..",
72
- "e2e-test": "gulp transpile && mocha --timeout 600000 --recursive build/test/functional/",
73
- "watch": "gulp watch",
74
- "coverage": "gulp coveralls",
75
- "prepare": "gulp prepublish && npm run build:server",
76
+ "build:node": "rimraf build && babel --out-dir=build/lib lib && babel --out-dir=build index.js",
77
+ "build:server": "cd espresso-server && ./gradlew clean assembleAndroidTest || cd ..",
78
+ "dev": "npm run build -- --watch",
79
+ "lint": "eslint .",
80
+ "lint:fix": "npm run lint -- --fix",
76
81
  "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
77
- "precommit-test": "REPORTER=dot gulp once && npm run test:server",
78
- "lint": "gulp lint",
79
- "lint:fix": "gulp eslint --fix"
82
+ "precommit-lint": "lint-staged",
83
+ "prepare": "npm run build",
84
+ "test": "npm run test:node",
85
+ "test:node": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.js\"",
86
+ "test:server": "cd espresso-server && ./gradlew test --stacktrace || cd ..",
87
+ "e2e-test": "mocha --exit --timeout 5m \"./test/functional/**/*-specs.js\""
80
88
  },
81
89
  "pre-commit": [
82
90
  "precommit-msg",
83
- "precommit-test"
91
+ "precommit-lint"
84
92
  ],
85
93
  "peerDependencies": {
86
94
  "appium": "^2.0.0-beta.40"
87
95
  },
88
96
  "devDependencies": {
89
- "@appium/gulp-plugins": "^7.0.0",
90
97
  "@appium/eslint-config-appium": "^6.0.0",
98
+ "@babel/cli": "^7.18.10",
99
+ "@babel/core": "^7.18.10",
100
+ "@babel/eslint-parser": "^7.18.9",
101
+ "@babel/plugin-transform-runtime": "^7.18.10",
102
+ "@babel/preset-env": "^7.18.10",
103
+ "@babel/register": "^7.18.9",
91
104
  "@semantic-release/git": "^10.0.1",
92
105
  "@xmldom/xmldom": "^0.x",
93
- "android-apidemos": "^4.0.0",
106
+ "babel-plugin-source-map-support": "^2.2.0",
107
+ "android-apidemos": "^4.1.1",
94
108
  "appium-chromedriver": "^5.1.4",
95
109
  "async-lock": "^1.0.0",
96
110
  "chai": "^4.1.2",
97
111
  "chai-as-promised": "^7.1.1",
112
+ "eslint": "^7.32.0",
98
113
  "eslint-config-prettier": "^8.5.0",
99
- "gps-demo-app": "^2.1.1",
100
- "gulp": "^4.0.0",
114
+ "eslint-plugin-import": "^2.25.3",
115
+ "eslint-plugin-mocha": "^9.0.0",
116
+ "eslint-plugin-promise": "^6.0.0",
117
+ "lint-staged": "^13.0.3",
101
118
  "mocha": "^10.0.0",
102
- "mocha-junit-reporter": "^2.0.0",
103
- "mocha-multi-reporters": "^1.1.7",
104
119
  "pre-commit": "^1.2.2",
120
+ "rimraf": "^3.0.2",
105
121
  "semantic-release": "^19.0.2",
106
122
  "sinon": "^14.0.0",
107
123
  "webdriverio": "^7.0.0",