Skip to content

Commit 1335dd4

Browse files
fix: move all dependencies to be installed in the plugin (#65)
1 parent f7c5b80 commit 1335dd4

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,17 @@
3434
"wd": "^1.4.1",
3535
"webdriverio": "~4.8.0",
3636
"yargs": "^8.0.2",
37-
"chai": "^4.1.2",
38-
"chai-as-promised": "^7.1.1",
3937
"glob": "*",
4038
"portastic": "^1.0.1",
4139
"@types/node": "^7.0.5",
42-
"@types/webdriverio": "~4.8.4"
40+
"@types/webdriverio": "~4.8.4",
41+
"chai": "~4.1.1",
42+
"chai-as-promised": "~7.1.1",
43+
"mocha": "~3.5.0",
44+
"mocha-junit-reporter": "^1.13.0",
45+
"mocha-multi": "^0.11.0",
46+
"@types/chai": "^4.0.2",
47+
"@types/mocha": "^2.2.41"
4348
},
4449
"devDependencies": {
4550
"typescript": "^2.5.0"

postinstall.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ function updatePackageJsonDependencies(packageJson, isTypeScriptProject) {
114114
}
115115
}
116116

117-
configureDevDependencies(packageJson);
117+
// uncomment after npm is fixed
118+
//configureDevDependencies(packageJson);
118119
console.warn("WARNING: nativescript-dev-appium no longer installs Appium as a local dependency!");
119120
console.info("Add appium as a local dependency (see README) or we'll attempt to run it from PATH.");
120121
writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2));

0 commit comments

Comments
 (0)