From 3cdb10adaa4882d3987df1a16307a47b6506aa7e Mon Sep 17 00:00:00 2001 From: rafsanulhasan Date: Sat, 1 Sep 2018 08:48:55 +0600 Subject: [PATCH] Configured Library Manager to WebStatus 1. Added Library Manager to Web Status project (libman.json) 2. Configured project to download packages from CDNs specified by LibMan on project build --- src/Web/WebStatus/WebStatus.csproj | 1 + src/Web/WebStatus/libman.json | 42 ++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 src/Web/WebStatus/libman.json diff --git a/src/Web/WebStatus/WebStatus.csproj b/src/Web/WebStatus/WebStatus.csproj index e31928fe2..ad653b239 100644 --- a/src/Web/WebStatus/WebStatus.csproj +++ b/src/Web/WebStatus/WebStatus.csproj @@ -10,6 +10,7 @@ + diff --git a/src/Web/WebStatus/libman.json b/src/Web/WebStatus/libman.json new file mode 100644 index 000000000..ef1ce6db8 --- /dev/null +++ b/src/Web/WebStatus/libman.json @@ -0,0 +1,42 @@ +{ + "defaultProvider": "cdnjs", + "libraries": [ + { + "destination": "wwwroot/lib/bootstrap", + "files": [ + "dist/css/bootstrap.css", + "dist/css/bootstrap.css.map", + "dist/css/bootstrap.min.css", + "dist/css/bootstrap.min.css.map", + "dist/css/bootstrap-theme.css", + "dist/css/bootstrap-theme.css.map", + "dist/css/bootstrap-theme.min.css", + "dist/css/bootstrap-theme.min.css.map", + "dist/fonts/glyphicons-halflings-regular.eot", + "dist/fonts/glyphicons-halflings-regular.svg", + "dist/fonts/glyphicons-halflings-regular.ttf", + "dist/fonts/glyphicons-halflings-regular.woff", + "dist/fonts/glyphicons-halflings-regular.woff2", + "dist/js/bootstrap.js", + "dist/js/bootstrap.min.js", + "fonts/glyphicons-halflings-regular.eot", + "fonts/glyphicons-halflings-regular.svg", + "fonts/glyphicons-halflings-regular.ttf", + "fonts/glyphicons-halflings-regular.woff", + "fonts/glyphicons-halflings-regular.woff2" + ], + "library": "bootstrap@3.3.7", + "provider": "unpkg" + }, + { + "destination": "wwwroot/lib/jquery", + "files": [ + "jquery.js", + "jquery.min.js", + "jquery.min.map" + ], + "library": "jquery@2.2.0" + } + ], + "version": "1.0" +} \ No newline at end of file