From a4d0939f2f77764040ba80867cba1214211447bb Mon Sep 17 00:00:00 2001 From: Vlad Date: Wed, 28 Oct 2020 15:33:08 +0200 Subject: [PATCH] chore: add swiper to dependecy --- projects/lib/ng-package.json | 5 ++++- projects/lib/package.json | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/projects/lib/ng-package.json b/projects/lib/ng-package.json index 4eb2631..d60007d 100644 --- a/projects/lib/ng-package.json +++ b/projects/lib/ng-package.json @@ -6,5 +6,8 @@ "umdModuleIds": { "swiper": "Swiper" } - } + }, + "whitelistedNonPeerDependencies": [ + "swiper" + ] } diff --git a/projects/lib/package.json b/projects/lib/package.json index b087089..35e48d3 100644 --- a/projects/lib/package.json +++ b/projects/lib/package.json @@ -8,9 +8,10 @@ "type": "git", "url": "https://github.com/zefoy/ngx-swiper-wrapper.git" }, - + "dependencies": { + "swiper": ">=6.0.0" + }, "peerDependencies": { - "swiper": ">=6.0.0", "@angular/common": ">=9.0.0", "@angular/core": ">=9.0.0" }