From cb58957e78466a8de0a6a2465f2f90140f6291b0 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-QBHGSKC\\Joker LOL" Date: Tue, 17 May 2016 22:24:43 +0530 Subject: [PATCH 1/8] added the timer feature --- nativescript-intro-slides.d.ts | 4 ++++ nativescript-intro-slides.ts | 31 ++++++++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/nativescript-intro-slides.d.ts b/nativescript-intro-slides.d.ts index 7744155..8c1fb29 100644 --- a/nativescript-intro-slides.d.ts +++ b/nativescript-intro-slides.d.ts @@ -14,12 +14,16 @@ export declare class IntroSlides extends AbsoluteLayout { private transitioning; private direction; private _loop; + private _interval; + timer_is_set: boolean; + interval: number; loop: boolean; pageWidth: number; android: any; ios: any; constructor(); constructView(): void; + carousel(isenabled, time): void; nextSlide(): void; previousSlide(): void; private setupLeftPanel(); diff --git a/nativescript-intro-slides.ts b/nativescript-intro-slides.ts index 18b0286..83cf411 100755 --- a/nativescript-intro-slides.ts +++ b/nativescript-intro-slides.ts @@ -28,7 +28,16 @@ export class IntroSlides extends AbsoluteLayout { private _pageWidth: number; private transitioning: boolean; private direction: direction = direction.none; - private _loop: boolean + private _loop: boolean; + private _interval: number; + + get interval() { + return this._interval; + } + + set interval(value: boolean) { + this._interval = value; + } get loop() { return this._loop; @@ -62,6 +71,9 @@ export class IntroSlides extends AbsoluteLayout { if (this._loop == null) { this.loop = false; } + if (this._interval == null) { + this.interval = 0; + } this.transitioning = false; this._pageWidth = Platform.screen.mainScreen.widthDIPs; @@ -103,6 +115,20 @@ export class IntroSlides extends AbsoluteLayout { } + public carousel(isenabled: boolean,time: number) { + if (this.timer_is_set) { + return ; + } + if (isenabled) { + this.timer_reference = setInterval(function(){ + this.nextSlide(); + this.timer_is_set = true; + },time); + }else { + clearTimeout(this.timer_reference); + this.timer_is_set = false; + } + } public nextSlide() { this.transitioning = true; this.showRightSlide(this.currentPanel).then(() => { @@ -300,6 +326,9 @@ export class IntroSlides extends AbsoluteLayout { slideMap[0].left = slideMap[slideMap.length - 1]; slideMap[slideMap.length - 1].right = slideMap[0]; } + if (this.interval !== 0) { + this.carousel(true,this.interval); + } return slideMap[0]; } } From f9c73bdee5fba864e54f202f0eb63a1aac2d8ee4 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-QBHGSKC\\Joker LOL" Date: Tue, 17 May 2016 22:40:37 +0530 Subject: [PATCH 2/8] added the timer feature and readmd updated again --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cc4aa43..654bdd3 100755 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ the `IntroSlides` class also has public `nextSlide` and `previousSlide` function the `` element also has a property called `loop` which is a boolean value and if set to true will cause the slide to be an endless loop. The suggested use case would be for a Image Carousel or something of that nature. +the `` element also has a property called `interval` which is a integer value and the value is in milliseconds. The suggested use case would be for a Image Carousel or something of that nature which can change the image for every fixed intervals. It also has a function carousel(isenabled,time) if isenabled is true it enables the carousel feature and time sets the interval in millisecond. In unloaded function call carousel(false,0) to unregister it. + ###Plugin Development Work Flow: * Clone repository to your machine. @@ -121,4 +123,4 @@ https://github.com/NathanWalker/nativescript-plugin-seed [MIT](/LICENSE) -for {N} version 2.0.0+ \ No newline at end of file +for {N} version 2.0.0+ From 0e08ec2ca1fea94b123716c555523bf54eb70cda Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-QBHGSKC\\Joker LOL" Date: Wed, 18 May 2016 15:16:01 +0530 Subject: [PATCH 3/8] add interval feature --- README.md | 2 +- nativescript-intro-slides.d.ts | 5 +++-- nativescript-intro-slides.ts | 12 +++++------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 654bdd3..df41688 100755 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ the `IntroSlides` class also has public `nextSlide` and `previousSlide` function the `` element also has a property called `loop` which is a boolean value and if set to true will cause the slide to be an endless loop. The suggested use case would be for a Image Carousel or something of that nature. -the `` element also has a property called `interval` which is a integer value and the value is in milliseconds. The suggested use case would be for a Image Carousel or something of that nature which can change the image for every fixed intervals. It also has a function carousel(isenabled,time) if isenabled is true it enables the carousel feature and time sets the interval in millisecond. In unloaded function call carousel(false,0) to unregister it. +the `` element also has a property called `interval` which is a integer value and the value is in milliseconds. The suggested use case would be for a Image Carousel or something of that nature which can change the image for every fixed intervals. In unloaded function call page.getViewById("your_id").carousel(false,0) to unregister it (your_id is the id given to ``). ###Plugin Development Work Flow: diff --git a/nativescript-intro-slides.d.ts b/nativescript-intro-slides.d.ts index 8c1fb29..a788ca6 100644 --- a/nativescript-intro-slides.d.ts +++ b/nativescript-intro-slides.d.ts @@ -14,8 +14,8 @@ export declare class IntroSlides extends AbsoluteLayout { private transitioning; private direction; private _loop; + private timer_reference; private _interval; - timer_is_set: boolean; interval: number; loop: boolean; pageWidth: number; @@ -23,7 +23,7 @@ export declare class IntroSlides extends AbsoluteLayout { ios: any; constructor(); constructView(): void; - carousel(isenabled, time): void; + stopSlideshow(): void; nextSlide(): void; previousSlide(): void; private setupLeftPanel(); @@ -35,4 +35,5 @@ export declare class IntroSlides extends AbsoluteLayout { private setwidthPercent(view, percentage); private newFooterButton(name); private buildSlideMap(views); + private carousel(isenabled, time); } diff --git a/nativescript-intro-slides.ts b/nativescript-intro-slides.ts index 83cf411..d0a06b8 100755 --- a/nativescript-intro-slides.ts +++ b/nativescript-intro-slides.ts @@ -115,20 +115,18 @@ export class IntroSlides extends AbsoluteLayout { } - public carousel(isenabled: boolean,time: number) { - if (this.timer_is_set) { - return ; - } + private carousel(isenabled: boolean,time: number) { if (isenabled) { - this.timer_reference = setInterval(function(){ + this.timer_reference = setInterval(() => { this.nextSlide(); - this.timer_is_set = true; },time); }else { clearTimeout(this.timer_reference); - this.timer_is_set = false; } } + public stopSlideshow() { + this.carousel(false,0); + } public nextSlide() { this.transitioning = true; this.showRightSlide(this.currentPanel).then(() => { From e373a1ebb44d3efa3e90e754e4681da0e8dd2aa1 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-QBHGSKC\\Joker LOL" Date: Wed, 18 May 2016 16:50:08 +0530 Subject: [PATCH 4/8] package.json updated --- package.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9786fbb..84d10a1 100755 --- a/package.json +++ b/package.json @@ -33,6 +33,13 @@ "name": "Josh Sommer", "email": "joshdsommer@gmail.com" }, + "contributors": [ + { + "name": "Abhijith Reddy", + "email": "mabhijith95a10@gmail.com", + "url": "https://github.com/mabhijith95a10" + } + ], "bugs": { "url": "https://github.com/TheOriginalJosh/nativescript-intro-slides/issues" }, @@ -45,4 +52,4 @@ "devDependencies": { "typescript": "^1.8.7" } -} \ No newline at end of file +} From a9ed601ac0b6ada33084c76eafe8a3c6577781c0 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-QBHGSKC\\Joker LOL" Date: Wed, 18 May 2016 18:31:40 +0530 Subject: [PATCH 5/8] change in package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 84d10a1..193d4fc 100755 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ }, "contributors": [ { - "name": "Abhijith Reddy", + "name": "Obsessive Inc/Abhijith Reddy", "email": "mabhijith95a10@gmail.com", - "url": "https://github.com/mabhijith95a10" + "url": "https://github.com/Obsessive" } ], "bugs": { From 2d994028966b416c3144deddad5d1acd1b303a76 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-QBHGSKC\\Joker LOL" Date: Thu, 19 May 2016 11:53:27 +0530 Subject: [PATCH 6/8] resolved --- README.md | 52 ++++++++++++++++++++-------------------- nativescript-slides.d.ts | 2 +- nativescript-slides.ts | 2 +- package.json | 18 +++++++------- 4 files changed, 37 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 6090acf..df41688 100755 --- a/README.md +++ b/README.md @@ -1,47 +1,48 @@ -# NativeScript Slides for iOS and Android -###_The plugin formally known as nativescript-intro-slides_ -[![Nativescript Slides. Click to Play](https://img.youtube.com/vi/1AatGtPA6J8/0.jpg)](https://www.youtube.com/embed/1AatGtPA6J8) +# Nativescript Intro Slides for iOS and Android +###_Not just for intro slides any more! Great for **Image Carousels** too!_ ### + +[![Nativescript Intro Slides. Click to Play](https://img.youtube.com/vi/1AatGtPA6J8/0.jpg)](https://www.youtube.com/embed/1AatGtPA6J8) ##Example Usage: ###XML ```xml - - + + - + + - + + - + + - + + - + + ``` ###CSS ```css -.slide-1{ +.intro-slide-1{ background-color: darkslateblue; } -.slide-2{ +.intro-slide-2{ background-color: darkcyan; } -.slide-3{ +.intro-slide-3{ background-color: darkgreen; } -.slide-4{ +.intro-slide-4{ background-color: darkgoldenrod; } -.slide-5{ +.intro-slide-5{ background-color: darkslategray; } Label{ @@ -52,17 +53,16 @@ Label{ } ``` -Great for Intros/Tutorials to Image Carousels. -To use the intro slide plugin you need to first import it into your xml layout with `xmlns:Slides="nativescript-slides"` +To use the intro slide plugin you need to first import it into your xml layout with `xmlns:IntroSlides="nativescript-intro-slides"` -when using the intro slide plugin you need at least two ```` views inside of the ````. +when using the intro slide plugin you need at least two ```` views inside of the ````. -add as many ```` as you want. +add as many ```` as you want. -the `SlideContainer` class also has public `nextSlide` and `previousSlide` functions so you can add your own previous and next buttons as needed. +the `IntroSlides` class also has public `nextSlide` and `previousSlide` functions so you can add your own previous and next buttons as needed. -the `` element also has a property called `loop` which is a boolean value and if set to true will cause the slide to be an endless loop. The suggested use case would be for a Image Carousel or something of that nature. +the `` element also has a property called `loop` which is a boolean value and if set to true will cause the slide to be an endless loop. The suggested use case would be for a Image Carousel or something of that nature. the `` element also has a property called `interval` which is a integer value and the value is in milliseconds. The suggested use case would be for a Image Carousel or something of that nature which can change the image for every fixed intervals. In unloaded function call page.getViewById("your_id").carousel(false,0) to unregister it (your_id is the id given to ``). diff --git a/nativescript-slides.d.ts b/nativescript-slides.d.ts index 71236c0..a788ca6 100644 --- a/nativescript-slides.d.ts +++ b/nativescript-slides.d.ts @@ -7,7 +7,7 @@ export interface ISlideMap { left?: ISlideMap; right?: ISlideMap; } -export declare class SlideContainer extends AbsoluteLayout { +export declare class IntroSlides extends AbsoluteLayout { private _loaded; private currentPanel; private _pageWidth; diff --git a/nativescript-slides.ts b/nativescript-slides.ts index 5ef336a..d0a06b8 100755 --- a/nativescript-slides.ts +++ b/nativescript-slides.ts @@ -22,7 +22,7 @@ export interface ISlideMap { right?: ISlideMap; } -export class SlideContainer extends AbsoluteLayout { +export class IntroSlides extends AbsoluteLayout { private _loaded: boolean; private currentPanel: ISlideMap; private _pageWidth: number; diff --git a/package.json b/package.json index 77b6dad..193d4fc 100755 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "nativescript-slides", - "version": "1.0.2", - "description": "NativeScript Slides plugin.", - "main": "nativescript-slides.js", + "name": "nativescript-intro-slides", + "version": "1.0.3", + "description": "NativeScript intro slides plugin.", + "main": "nativescript-intro-slides.js", "nativescript": { "platforms": { "android": "2.0.0", @@ -13,7 +13,7 @@ "build": "tsc", "demo.ios": "npm run preparedemo && cd demo && tns emulate ios", "demo.android": "npm run preparedemo && cd demo && tns run android", - "preparedemo": "npm run build && cd demo && tns plugin remove nativescript-slides && tns plugin add .. && tns install", + "preparedemo": "npm run build && cd demo && tns plugin remove nativescript-intro-slides && tns plugin add .. && tns install", "setup": "npm install && cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..", "livesync.ios":"cd demo && tns livesync ios --watch", "livesync.android":"cd demo && tns livesync android --watch", @@ -21,7 +21,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/TheOriginalJosh/nativescript-slides.git" + "url": "https://github.com/TheOriginalJosh/nativescript-intro-slides.git" }, "keywords": [ "NativeScript", @@ -41,13 +41,13 @@ } ], "bugs": { - "url": "https://github.com/TheOriginalJosh/nativescript-slides/issues" + "url": "https://github.com/TheOriginalJosh/nativescript-intro-slides/issues" }, "license": { "type": "MIT", - "url": "https://github.com/TheOriginalJosh/nativescript-slides/blob/master/LICENSE" + "url": "https://github.com/TheOriginalJosh/nativescript-intro-slides/blob/master/LICENSE" }, - "homepage": "https://github.com/TheOriginalJosh/nativescript-slides", + "homepage": "https://github.com/TheOriginalJosh/nativescript-intro-slides", "readmeFilename": "README.md", "devDependencies": { "typescript": "^1.8.7" From 4dbfa74e625f27ce7b9bc015169395873bb1fc99 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-QBHGSKC\\Joker LOL" Date: Thu, 19 May 2016 12:02:21 +0530 Subject: [PATCH 7/8] copied the wrong readme.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df41688..a1f1827 100755 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ the `IntroSlides` class also has public `nextSlide` and `previousSlide` function the `` element also has a property called `loop` which is a boolean value and if set to true will cause the slide to be an endless loop. The suggested use case would be for a Image Carousel or something of that nature. -the `` element also has a property called `interval` which is a integer value and the value is in milliseconds. The suggested use case would be for a Image Carousel or something of that nature which can change the image for every fixed intervals. In unloaded function call page.getViewById("your_id").carousel(false,0) to unregister it (your_id is the id given to ``). +the `` element also has a property called `interval` which is a integer value and the value is in milliseconds. The suggested use case would be for a Image Carousel or something of that nature which can change the image for every fixed intervals. In unloaded function call page.getViewById("your_id").stopSlideshow() to unregister it (your_id is the id given to ``). ###Plugin Development Work Flow: From b9e5bd53af6aefcb03c1a26cade7299c7f04e707 Mon Sep 17 00:00:00 2001 From: "U-DESKTOP-QBHGSKC\\Joker LOL" Date: Thu, 19 May 2016 15:59:43 +0530 Subject: [PATCH 8/8] corrected --- README.md | 57 +++++++++++++++++++++------------------- nativescript-slides.d.ts | 4 ++- nativescript-slides.ts | 24 ++++++++++++++--- package.json | 33 ++++++++++++++--------- 4 files changed, 74 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index a1f1827..7c712ed 100755 --- a/README.md +++ b/README.md @@ -1,48 +1,47 @@ -# Nativescript Intro Slides for iOS and Android -###_Not just for intro slides any more! Great for **Image Carousels** too!_ ### - -[![Nativescript Intro Slides. Click to Play](https://img.youtube.com/vi/1AatGtPA6J8/0.jpg)](https://www.youtube.com/embed/1AatGtPA6J8) +# NativeScript Slides for iOS and Android +###_The plugin formally known as nativescript-intro-slides_ +[![Nativescript Slides. Click to Play](https://img.youtube.com/vi/1AatGtPA6J8/0.jpg)](https://www.youtube.com/embed/1AatGtPA6J8) ##Example Usage: ###XML ```xml - - + + - + + - + + + + + + ``` ###CSS ```css -.intro-slide-1{ +.slide-1{ background-color: darkslateblue; } -.intro-slide-2{ +.slide-2{ background-color: darkcyan; } -.intro-slide-3{ +.slide-3{ background-color: darkgreen; } -.intro-slide-4{ +.slide-4{ background-color: darkgoldenrod; } -.intro-slide-5{ +.slide-5{ background-color: darkslategray; } Label{ @@ -53,18 +52,22 @@ Label{ } ``` +Great for Intros/Tutorials to Image Carousels. + +To use the intro slide plugin you need to first import it into your xml layout with `xmlns:Slides="nativescript-slides"` -To use the intro slide plugin you need to first import it into your xml layout with `xmlns:IntroSlides="nativescript-intro-slides"` +when using the intro slide plugin you need at least two ```` views inside of the ````. -when using the intro slide plugin you need at least two ```` views inside of the ````. +add as many ```` as you want. -add as many ```` as you want. +the `SlideContainer` class also has public `nextSlide` and `previousSlide` functions so you can add your own previous and next buttons as needed. -the `IntroSlides` class also has public `nextSlide` and `previousSlide` functions so you can add your own previous and next buttons as needed. +the `` element also has a property called `loop` which is a boolean value and if set to true will cause the slide to be an endless loop. The suggested use case would be for a Image Carousel or something of that nature. -the `` element also has a property called `loop` which is a boolean value and if set to true will cause the slide to be an endless loop. The suggested use case would be for a Image Carousel or something of that nature. +the `` element also has a property called `interval` which is a integer value and the value is in milliseconds. The suggested use case would be for a Image Carousel or something of that nature which can change the image for every fixed intervals. In unloaded function call page.getViewById("your_id").stopSlideshow() to unregister it (your_id is the id given to ``). -the `` element also has a property called `interval` which is a integer value and the value is in milliseconds. The suggested use case would be for a Image Carousel or something of that nature which can change the image for every fixed intervals. In unloaded function call page.getViewById("your_id").stopSlideshow() to unregister it (your_id is the id given to ``). +#### Android Optional Attribute +- `AndroidTransparentStatusBar`: boolean - If true, the Android status bar will be transparent on devices that support it. Typically this is API >=21 (Lollipop). ###Plugin Development Work Flow: diff --git a/nativescript-slides.d.ts b/nativescript-slides.d.ts index a788ca6..aace63e 100644 --- a/nativescript-slides.d.ts +++ b/nativescript-slides.d.ts @@ -7,17 +7,19 @@ export interface ISlideMap { left?: ISlideMap; right?: ISlideMap; } -export declare class IntroSlides extends AbsoluteLayout { +export declare class SlideContainer extends AbsoluteLayout { private _loaded; private currentPanel; private _pageWidth; private transitioning; private direction; private _loop; + private _AndroidTransparentStatusBar; private timer_reference; private _interval; interval: number; loop: boolean; + AndroidTransparentStatusBar: boolean; pageWidth: number; android: any; ios: any; diff --git a/nativescript-slides.ts b/nativescript-slides.ts index d0a06b8..0445b81 100755 --- a/nativescript-slides.ts +++ b/nativescript-slides.ts @@ -22,7 +22,7 @@ export interface ISlideMap { right?: ISlideMap; } -export class IntroSlides extends AbsoluteLayout { +export class SlideContainer extends AbsoluteLayout { private _loaded: boolean; private currentPanel: ISlideMap; private _pageWidth: number; @@ -30,6 +30,7 @@ export class IntroSlides extends AbsoluteLayout { private direction: direction = direction.none; private _loop: boolean; private _interval: number; + private _AndroidTransparentStatusBar: boolean; get interval() { return this._interval; @@ -47,6 +48,14 @@ export class IntroSlides extends AbsoluteLayout { this._loop = value; } + get AndroidTransparentStatusBar() { + return this._AndroidTransparentStatusBar; + } + + set AndroidTransparentStatusBar(value: boolean) { + this._AndroidTransparentStatusBar = value; + } + get pageWidth() { return this._pageWidth; } @@ -71,9 +80,6 @@ export class IntroSlides extends AbsoluteLayout { if (this._loop == null) { this.loop = false; } - if (this._interval == null) { - this.interval = 0; - } this.transitioning = false; this._pageWidth = Platform.screen.mainScreen.widthDIPs; @@ -84,6 +90,16 @@ export class IntroSlides extends AbsoluteLayout { if (!this._loaded) { this._loaded = true; + // Android Transparent Status Bar + if (this.AndroidTransparentStatusBar === true && app.android && Platform.device.sdkVersion >= '21') { + const View = android.view.View; + let window = app.android.startActivity.getWindow(); + // set the status bar to Color.Transparent + window.setStatusBarColor(0x000000); + } + + + let slides: StackLayout[] = []; this.eachLayoutChild((view: View) => { diff --git a/package.json b/package.json index 193d4fc..8e445ce 100755 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "nativescript-intro-slides", - "version": "1.0.3", - "description": "NativeScript intro slides plugin.", - "main": "nativescript-intro-slides.js", + "name": "nativescript-slides", + "version": "1.0.2", + "description": "NativeScript Slides plugin.", + "main": "nativescript-slides.js", "nativescript": { "platforms": { "android": "2.0.0", @@ -13,7 +13,7 @@ "build": "tsc", "demo.ios": "npm run preparedemo && cd demo && tns emulate ios", "demo.android": "npm run preparedemo && cd demo && tns run android", - "preparedemo": "npm run build && cd demo && tns plugin remove nativescript-intro-slides && tns plugin add .. && tns install", + "preparedemo": "npm run build && cd demo && tns plugin remove nativescript-slides && tns plugin add .. && tns install", "setup": "npm install && cd demo && npm install && cd .. && npm run build && cd demo && tns plugin add .. && cd ..", "livesync.ios":"cd demo && tns livesync ios --watch", "livesync.android":"cd demo && tns livesync android --watch", @@ -21,33 +21,42 @@ }, "repository": { "type": "git", - "url": "https://github.com/TheOriginalJosh/nativescript-intro-slides.git" + "url": "https://github.com/TheOriginalJosh/nativescript-slides.git" }, "keywords": [ "NativeScript", "JavaScript", "Android", - "iOS" + "iOS", + "TypeScript", + "swipe slides", + "Slides", + "Carousel" ], "author": { "name": "Josh Sommer", "email": "joshdsommer@gmail.com" }, "contributors": [ - { + { + "name": "Brad Martin", + "email": "bradwaynemartin@gmail.com", + "url": "https://github.com/bradmartin" + }, + { "name": "Obsessive Inc/Abhijith Reddy", "email": "mabhijith95a10@gmail.com", "url": "https://github.com/Obsessive" } - ], + ], "bugs": { - "url": "https://github.com/TheOriginalJosh/nativescript-intro-slides/issues" + "url": "https://github.com/TheOriginalJosh/nativescript-slides/issues" }, "license": { "type": "MIT", - "url": "https://github.com/TheOriginalJosh/nativescript-intro-slides/blob/master/LICENSE" + "url": "https://github.com/TheOriginalJosh/nativescript-slides/blob/master/LICENSE" }, - "homepage": "https://github.com/TheOriginalJosh/nativescript-intro-slides", + "homepage": "https://github.com/TheOriginalJosh/nativescript-slides", "readmeFilename": "README.md", "devDependencies": { "typescript": "^1.8.7"