Skip to content

Commit 836f235

Browse files
Merge pull request #6 from NativeScript/amiorkov/scripts-fix
fix: resolve incorrect scripts
2 parents e3d07f5 + 3d9c29b commit 836f235

File tree

3 files changed

+3
-122
lines changed

3 files changed

+3
-122
lines changed

src/scripts/postinstall.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ function writeToSrcJson(inputParams) {
373373
var pluginWatch = updateWatch(predefinedScripts, pluginWatchJson);
374374
ndJson[scriptsTag] = pluginScripts;
375375
ndJson[watchTag] = pluginWatch;
376-
ndJson[devDepsTag] = newDevDeps;
377376
ndJson[descriptionsTag] = descriptions;
378377
ndJson[shortCommandsTag] = shortCommands;
379378
ndJson[buildCommandsTag] = buildCommand;

src/scripts/predefined-scripts.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo
169169
},
170170
{
171171
key: "nd.demo.run.watch.device.ios",
172-
value: "npm run nd.open.xcode && npm run npm run nd.demo.tns.run.ios",
172+
value: "npm run nd.open.xcode && npm run nd.demo.tns.run.ios",
173173
shortCommands: ["demo ios device attach & watch"],
174174
buildCommand: "npm run nd.build.device.native.ios",
175175
patterns: [
@@ -190,7 +190,7 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo
190190
},
191191
{
192192
key: "nd.demo.angular.run.watch.ios",
193-
value: "npm run nd.open.xcode && npm run npm run nd.demo.angular.tns.run.ios",
193+
value: "npm run nd.open.xcode && npm run nd.demo.angular.tns.run.ios",
194194
shortCommands: ["demo-angular ios simulator attach & watch"],
195195
buildCommand: "npm run nd.build.simulator.native.ios",
196196
patterns: [
@@ -223,7 +223,7 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo
223223
},
224224
{
225225
key: "nd.demo.vue.run.watch.ios",
226-
value: "npm run nd.open.xcode && npm run npm run nd.demo.vue.tns.run.ios",
226+
value: "npm run nd.open.xcode && npm run nd.demo.vue.tns.run.ios",
227227
shortCommands: ["demo-vue ios simulator attach & watch"],
228228
buildCommand: "npm run nd.build.simulator.native.ios",
229229
patterns: [

src/scripts/predefined-watchers.js

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)