Browse Source

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
pull/735/head
rafsanulhasan 6 years ago
parent
commit
3cdb10adaa
2 changed files with 43 additions and 0 deletions
  1. +1
    -0
      src/Web/WebStatus/WebStatus.csproj
  2. +42
    -0
      src/Web/WebStatus/libman.json

+ 1
- 0
src/Web/WebStatus/WebStatus.csproj View File

@ -10,6 +10,7 @@
<PackageReference Include="Microsoft.ApplicationInsights.Kubernetes" Version="1.0.0-beta6" /> <PackageReference Include="Microsoft.ApplicationInsights.Kubernetes" Version="1.0.0-beta6" />
<PackageReference Include="Microsoft.ApplicationInsights.ServiceFabric" Version="2.0.1-beta1" /> <PackageReference Include="Microsoft.ApplicationInsights.ServiceFabric" Version="2.0.1-beta1" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.5" /> <PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.5" />
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="1.0.163" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.1" /> <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.1" />


+ 42
- 0
src/Web/WebStatus/libman.json View File

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

Loading…
Cancel
Save