appium-mac2-driver 1.3.1 → 1.4.2

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
@@ -6,8 +6,8 @@
6
6
  "mac",
7
7
  "XCTest"
8
8
  ],
9
- "version": "1.3.1",
10
- "author": "appium",
9
+ "version": "1.4.2",
10
+ "author": "Appium Contributors",
11
11
  "license": "Apache-2.0",
12
12
  "repository": {
13
13
  "type": "git",
@@ -16,9 +16,20 @@
16
16
  "bugs": {
17
17
  "url": "https://github.com/appium/appium-mac2-driver/issues"
18
18
  },
19
- "engines": [
20
- "node"
21
- ],
19
+ "engines": {
20
+ "node": ">=14",
21
+ "npm": ">=8"
22
+ },
23
+ "lint-staged": {
24
+ "*.js": [
25
+ "eslint --fix"
26
+ ]
27
+ },
28
+ "prettier": {
29
+ "bracketSpacing": false,
30
+ "printWidth": 100,
31
+ "singleQuote": true
32
+ },
22
33
  "appium": {
23
34
  "driverName": "mac2",
24
35
  "automationName": "Mac2",
@@ -37,33 +48,36 @@
37
48
  "lodash": "^4.17.4",
38
49
  "portscanner": "2.2.0",
39
50
  "source-map-support": "^0.x",
40
- "teen_process": "^1.15.0"
51
+ "teen_process": "^2.0.1"
41
52
  },
42
53
  "scripts": {
43
- "build": "gulp transpile",
44
- "prepare": "gulp transpile && gulp prepublish",
45
- "mocha": "mocha",
46
- "test": "gulp once",
47
- "e2e-test": "gulp e2e-test",
48
- "watch": "gulp watch",
54
+ "build": "rm -rf build && babel --out-dir=build/lib lib && babel --out-dir=build index.js",
55
+ "dev": "npm run build -- --watch",
56
+ "lint": "eslint .",
57
+ "lint:fix": "npm run lint -- --fix",
49
58
  "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
50
- "precommit-test": "REPORTER=dot gulp once",
51
- "lint": "gulp eslint",
52
- "lint:fix": "gulp eslint --fix"
59
+ "precommit-lint": "lint-staged",
60
+ "prepare": "npm run build",
61
+ "test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.js\"",
62
+ "e2e-test": "mocha --exit --timeout 10m \"./test/e2e/**/*-specs.js\""
53
63
  },
54
64
  "pre-commit": [
55
65
  "precommit-msg",
56
- "precommit-test"
66
+ "precommit-lint"
57
67
  ],
58
68
  "peerDependencies": {
59
69
  "appium": "^2.0.0-beta.40"
60
70
  },
61
71
  "devDependencies": {
62
- "@appium/gulp-plugins": "^7.0.0",
63
72
  "@appium/eslint-config-appium": "^6.0.0",
64
- "@babel/core": "^7.16.0",
65
- "@babel/eslint-parser": "^7.16.3",
73
+ "@babel/cli": "^7.18.10",
74
+ "@babel/core": "^7.18.10",
75
+ "@babel/eslint-parser": "^7.18.9",
76
+ "@babel/plugin-transform-runtime": "^7.18.10",
77
+ "@babel/preset-env": "^7.18.10",
78
+ "@babel/register": "^7.18.9",
66
79
  "@semantic-release/git": "^10.0.1",
80
+ "babel-plugin-source-map-support": "^2.2.0",
67
81
  "chai": "^4.1.2",
68
82
  "chai-as-promised": "^7.1.1",
69
83
  "eslint": "^7.32.0",
@@ -71,7 +85,7 @@
71
85
  "eslint-plugin-import": "^2.25.3",
72
86
  "eslint-plugin-mocha": "^9.0.0",
73
87
  "eslint-plugin-promise": "^6.0.0",
74
- "gulp": "^4.0.0",
88
+ "lint-staged": "^13.0.3",
75
89
  "mocha": "^10.0.0",
76
90
  "pre-commit": "^1.1.3",
77
91
  "semantic-release": "^19.0.2",