From 65a756aa6ef95ccd17ce874711f71eb241a30be1 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 13 Nov 2017 16:18:38 +0200 Subject: [PATCH] Add ng-bootstrap module and remove bootstrap libraries with dependencies --- .angular-cli.json | 8 +------- package-lock.json | 5 +++++ package.json | 4 +--- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.angular-cli.json b/.angular-cli.json index 493be15..3a1283c 100644 --- a/.angular-cli.json +++ b/.angular-cli.json @@ -20,14 +20,8 @@ "prefix": "app", "styles": [ "../node_modules/font-awesome/css/font-awesome.css", - "../node_modules/bootstrap/dist/css/bootstrap.min.css", - "styles.scss" - ], - "scripts": [ - "../node_modules/jquery/dist/jquery.min.js", - "../node_modules/popper.js/dist/popper.min.js", - "../node_modules/bootstrap/dist/js/bootstrap.min.js" ], + "scripts": [], "environmentSource": "environments/environment.ts", "environments": { "dev": "environments/environment.ts", diff --git a/package-lock.json b/package-lock.json index 03df9c2..19a9ed1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -198,6 +198,11 @@ "tsickle": "0.21.6" } }, + "@ng-bootstrap/ng-bootstrap": { + "version": "1.0.0-beta.5", + "resolved": "https://registry.npmjs.org/@ng-bootstrap/ng-bootstrap/-/ng-bootstrap-1.0.0-beta.5.tgz", + "integrity": "sha1-2iuQZrNwGihMrFoWFop33vlHtKs=" + }, "@ngtools/json-schema": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@ngtools/json-schema/-/json-schema-1.1.0.tgz", diff --git a/package.json b/package.json index 317ef44..ce52656 100644 --- a/package.json +++ b/package.json @@ -21,12 +21,10 @@ "@angular/platform-browser": "^4.2.4", "@angular/platform-browser-dynamic": "^4.2.4", "@angular/router": "^4.2.4", + "@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.5", "angular2-fontawesome": "^0.9.3", - "bootstrap": "^4.0.0-beta.2", "core-js": "^2.4.1", "font-awesome": "^4.7.0", - "jquery": "^3.2.1", - "popper.js": "^1.12.7", "rxjs": "^5.4.2", "zone.js": "^0.8.14" },