From 8ed40c8ffc7032b811525507cf2ba23f6d0309c1 Mon Sep 17 00:00:00 2001 From: Elena Hristova Date: Wed, 17 Jul 2019 14:44:49 +0300 Subject: [PATCH] chore: update plugin seed for 6.0 --- README.md | 7 +++---- src/package.json | 11 +++++------ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 3927af0..34236ee 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ The NativeScript plugin seed is built to be used as a starting point by NativeSc 1. `git clone https://github.com/NativeScript/nativescript-plugin-seed nativescript-yourplugin` where `nativescript-yourplugin` is the name of your plugin. 2. `cd nativescript-yourplugin/src` 3. `npm run postclone` -4. `npm run demo.ios` or `npm run demo.android` to run the demo. This will automatically watch for TypeScript changes also in your plugin and do the transpilation. +4. `npm run demo.ios` or `npm run demo.android` to run the demo. ## Long Description @@ -77,10 +77,9 @@ Now you can continue with the development of your plugin by using the [Developme **NOTE**: The plugin seed is updated to use the latest version of NativeScript. If you are not ready to upgrade, you can checkout a [tagged version](https://github.com/NativeScript/nativescript-plugin-seed/tags) that is compatible with your NativeScript version. #### Development setup -For easier development and debugging purposes continue with the following steps: +For easier development and debugging purposes continue with the following: -1. Open a command prompt/terminal, navigate to `src` folder and run `npm run demo.ios`, `npm run demo.android`, `npm run demo-angular.ios`, `npm run demo-angular.android` to run the demo applications created during `postclone`. -2. Open another command prompt/terminal, navigate to `src` folder and run `npm run plugin.tscwatch` to watch for file changes in your plugin. +Open a command prompt/terminal, navigate to `src` folder and run `npm run demo.ios`, `npm run demo.android`, `npm run demo-angular.ios`, `npm run demo-angular.android` to run the demo applications created during `postclone`. Now go and make a change to your plugin. It will be automatically applied to the demo project. diff --git a/src/package.json b/src/package.json index bc7c89d..14de2bf 100644 --- a/src/package.json +++ b/src/package.json @@ -6,8 +6,8 @@ "typings": "index.d.ts", "nativescript": { "platforms": { - "android": "5.4.0", - "ios": "5.4.0" + "android": "6.0.0", + "ios": "6.0.1" } }, "repository": { @@ -20,7 +20,6 @@ "build.native": "node scripts/build-native.js", "postclone": "npm i && node scripts/postclone.js", "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude \"**/node_modules/**\"", - "plugin.tscwatch": "npm run tsc -- -w", "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/platforms/**'", "prepack": "npm run build.native" }, @@ -41,9 +40,9 @@ "homepage": "https://github.com/YourName/nativescript-yourplugin", "readmeFilename": "README.md", "devDependencies": { - "tns-core-modules": "^5.0.0", - "tns-platform-declarations": "^5.0.0", - "typescript": "~3.3.3", + "tns-core-modules": "^6.0.0", + "tns-platform-declarations": "^6.0.0", + "typescript": "~3.4.5", "prompt": "^1.0.0", "rimraf": "^2.6.3", "tslint": "^5.12.1",