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" }