Skip to content

Commit 128581e

Browse files
author
Vasil Chimev
authored
refactor: rename compile-tests to e2e-watch npm script (#88)
To be consistent with the package's [script](https://github.com/NativeScript/nativescript-dev-appium/blob/master/package.json#L54).
1 parent 49b8e59 commit 128581e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postinstall.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function updatePackageJsonDependencies(packageJson, isTypeScriptProject) {
108108
if (!packageJson.scripts["e2e"]) {
109109
if (isTypeScriptProject) {
110110
packageJson.scripts["e2e"] = "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts";
111-
packageJson.scripts["compile-tests"] = "tsc -p e2e --watch";
111+
packageJson.scripts["e2e-watch"] = "tsc -p e2e --watch";
112112
} else {
113113
packageJson.scripts["e2e"] = "mocha --opts ./e2e/config/mocha.opts";
114114
}

0 commit comments

Comments
 (0)