Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ This dev plugin allows a __NativeScript plugin authors__ to use a **predefined w
Note
> - This NS dev plugin has been developed on Mac and has not been tested on Windows.
> - Using the plugin's scripts will open both Android Studio and XCode so be aware that those applications will open during the executing of the scripts.
> - This plugin uses the `--syncAllFiles` to ensure that all of your NS plugin source code changes are transferred when changes are detected.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-dev-debugging",
"version": "1.0.1",
"version": "2.0.0",
"description": "This dev plugin allows an NativeScript plugin authors to use a predefined workflow with which you can develop and debug both the native iOS/Android and the TypeScript/JavaScript wrapper source code of their NS plugin. The main API that this plugin exposes is through `npm scripts` which will be saved to your package.json of your plugin's source code.",
"main": "index.js",
"dependencies": {
Expand Down
24 changes: 12 additions & 12 deletions src/scripts/predefined-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,38 +243,38 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo
},
{
key: "nd.demo.tns.run.android",
value: "cd " + demoFolder + " && tns run android --syncAllFiles",
description: "Runs the 'demo' app on Android with '--syncAllFiles' argument",
value: "cd " + demoFolder + " && tns run android",
description: "Runs the 'demo' app on Android",
category: "secondary"
},
{
key: "nd.demo.tns.run.ios",
value: "cd " + demoFolder + " && tns run ios --syncAllFiles" + provisioningParam,
description: "Runs the 'demo' app on iOS with '--syncAllFiles' argument",
value: "cd " + demoFolder + " && tns run ios" + provisioningParam,
description: "Runs the 'demo' app on iOS",
category: "secondary"
},
{
key: "nd.demo.angular.tns.run.android",
value: "cd " + demoAngularFolder + " && tns run android --syncAllFiles",
description: "Runs the 'demo-angular' app on Android with '--syncAllFiles' argument",
value: "cd " + demoAngularFolder + " && tns run android",
description: "Runs the 'demo-angular' app on Android",
category: "secondary"
},
{
key: "nd.demo.angular.tns.run.ios",
value: "cd " + demoAngularFolder + " && tns run ios --syncAllFiles" + provisioningParam,
description: "Runs the 'demo-angular' app on iOS with '--syncAllFiles' argument",
value: "cd " + demoAngularFolder + " && tns run ios" + provisioningParam,
description: "Runs the 'demo-angular' app on iOS",
category: "secondary"
},
{
key: "nd.demo.vue.tns.run.android",
value: "cd " + demoVueFolder + " && tns run android --bundle --syncAllFiles",
description: "Runs the 'demo-vue' app on Android with '--syncAllFiles' argument",
value: "cd " + demoVueFolder + " && tns run android",
description: "Runs the 'demo-vue' app on Android",
category: "secondary"
},
{
key: "nd.demo.vue.tns.run.ios",
value: "cd " + demoVueFolder + " && tns run ios --bundle --syncAllFiles" + provisioningParam,
description: "Runs the 'demo-vue' app on iOS with '--syncAllFiles' argument",
value: "cd " + demoVueFolder + " && tns run ios" + provisioningParam,
description: "Runs the 'demo-vue' app on iOS",
category: "secondary"
},
{
Expand Down