You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/scripts/predefined-scripts.js
+39-75Lines changed: 39 additions & 75 deletions
Original file line number
Diff line number
Diff line change
@@ -46,64 +46,73 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo
46
46
},
47
47
{
48
48
key: "nd.demo.android",
49
-
value: "npm run nd.build.native.android && npm run nd.open.android.studio && npm run nd.demo.tns.run.android",
49
+
value: "npm run nd.open.android.studio && npm run nd.demo.tns.run.android",
50
50
description: "Runs your 'demo' app and opens Android Studio. After that use 'Attach debugger to Android process (demo)' to debug the native source code",
value: "npm run nd.build.simulator.native.ios && npm run nd.open.xcode && npm run nd.demo.tns.run.ios",
57
+
value: "npm run nd.open.xcode && npm run nd.demo.tns.run.ios",
57
58
description: "Runs your 'demo' app and opens Xcode. After that use 'Attach to process by PID or Name (demo)' to debug the native source code. (for simulator)",
59
+
buildCommand: "npm run nd.build.simulator.native.ios",
58
60
category: "ios debug",
59
61
shortCommands: ["demo ios simulator attach"]
60
62
},
61
63
{
62
64
key: "nd.demo.ios.device",
63
-
value: "npm run nd.build.device.native.ios && npm run nd.open.xcode && npm run nd.demo.tns.run.ios",
65
+
value: "npm run nd.open.xcode && npm run nd.demo.tns.run.ios",
64
66
description: "Runs your 'demo' app and opens Xcode. After that use 'Attach to process by PID or Name (demo)' to debug the native source code. (for real device)",
67
+
buildCommand: "npm run nd.build.device.native.ios",
65
68
category: "ios debug",
66
69
shortCommands: ["demo ios device attach"]
67
70
},
68
71
{
69
72
key: "nd.demo.angular.android",
70
-
value: "npm run nd.build.native.android && npm run nd.open.android.studio && npm run nd.demo.angular.tns.run.android",
73
+
value: "npm run nd.open.android.studio && npm run nd.demo.angular.tns.run.android",
71
74
description: "Runs your 'demo-angular' app and opens Android Studio. After that use 'Attach debugger to Android process (demo)' to debug the native source code",
value: "npm run nd.build.simulator.native.ios && npm run nd.open.xcode && npm run nd.demo.angular.tns.run.ios",
81
+
value: "npm run nd.open.xcode && npm run nd.demo.angular.tns.run.ios",
78
82
description: "Runs your 'demo-angular' app and opens Xcode. After that use 'Attach to process by PID or Name (demo)' to debug the native source code. (for simulator)",
83
+
buildCommand: "npm run nd.build.simulator.native.ios",
value: "npm run nd.build.device.native.ios && npm run nd.open.xcode && npm run nd.demo.angular.tns.run.ios",
89
+
value: "npm run nd.open.xcode && npm run nd.demo.angular.tns.run.ios",
85
90
description: "Runs your 'demo-angular' app and opens Xcode. After that use 'Attach to process by PID or Name (demo)' to debug the native source code. (for real device)",
91
+
buildCommand: "npm run nd.build.device.native.ios",
86
92
category: "ios debug",
87
93
shortCommands: ["demo-angular ios device attach"]
88
94
},
89
95
{
90
96
key: "nd.demo.vue.android",
91
-
value: "npm run nd.build.native.android && npm run nd.open.android.studio && npm run nd.demo.vue.tns.run.android",
97
+
value: "npm run nd.open.android.studio && npm run nd.demo.vue.tns.run.android",
92
98
description: "Runs your 'demo-vue' app and opens Android Studio. After that use 'Attach debugger to Android process (demo)' to debug the native source code",
value: "npm run nd.build.simulator.native.ios && npm run nd.open.xcode && npm run nd.demo.vue.tns.run.ios",
105
+
value: "npm run nd.open.xcode && npm run nd.demo.vue.tns.run.ios",
99
106
description: "Runs your 'demo-vue' app and opens Xcode. After that use 'Attach to process by PID or Name (demo)' to debug the native source code. (for simulator)",
107
+
buildCommand: "npm run nd.build.simulator.native.ios",
100
108
category: "ios debug",
101
109
shortCommands: ["demo-vue ios simulator attach"]
102
110
},
103
111
{
104
112
key: "nd.demo.vue.ios.device",
105
-
value: "npm run nd.build.device.native.ios && npm run nd.open.xcode && npm run nd.demo.vue.tns.run.ios",
113
+
value: "npm run nd.open.xcode && npm run nd.demo.vue.tns.run.ios",
106
114
description: "Runs your 'demo-vue' app and opens Xcode. After that use 'Attach to process by PID or Name (demo)' to debug the native source code. (for real device)",
115
+
buildCommand: "npm run nd.build.device.native.ios",
107
116
category: "ios debug",
108
117
shortCommands: ["demo-vue ios device attach"]
109
118
},
@@ -137,64 +146,11 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo
137
146
description: "Rebuilds the plugin's native source code and opens it in Xcode. (for real device)",
138
147
category: "secondary"
139
148
},
140
-
{
141
-
key: "nd.build.run.device.demo.app.ios",
142
-
value: "npm run nd.build.device.native.ios"+" && npm run nd.demo.tns.run.ios",
143
-
description: "Build the native code and executes 'tns run ios' for the 'demo' app",
144
-
category: "secondary"
145
-
},
146
-
{
147
-
key: "nd.build.run.simulator.demo.app.ios",
148
-
value: "npm run nd.build.simulator.native.ios"+" && npm run nd.demo.tns.run.ios",
149
-
description: "Build the native code and executes 'tns run ios' for the 'demo' app",
150
-
category: "secondary"
151
-
},
152
-
{
153
-
key: "nd.build.run.demo.app.android",
154
-
value: "npm run nd.build.native.android"+" && npm run nd.demo.tns.run.android",
155
-
description: "Build the native code and executes 'tns run android' for the 'demo' app",
156
-
category: "secondary"
157
-
},
158
-
{
159
-
key: "nd.build.run.demo.angular.app.ios",
160
-
value: "npm run nd.build.device.native.ios "+" && npm run nd.demo.angular.tns.run.ios",
161
-
description: "Build the native code and executes 'tns run ios' for the 'demo angular' app",
0 commit comments