Commit 1ce0942f authored by Clint.Network's avatar Clint.Network

Migrating NodeJS -> Libman

parent 9bd027e2
......@@ -44,9 +44,6 @@ namespace Stratis.Guru
services.Configure<NakoApiSettings>(Configuration.GetSection("NakoApi"));
services.Configure<FixerApiSettings>(Configuration.GetSection("FixerApi"));
/*Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");*/
services.AddMemoryCache();
services.AddTransient<UpdateHub>();
......@@ -58,7 +55,7 @@ namespace Stratis.Guru
services.AddLocalization();
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
services.AddMvc();
services.AddSignalR();
}
......@@ -79,15 +76,6 @@ namespace Stratis.Guru
app.UseStaticFiles();
app.UseCookiePolicy();
// Node.js Modules Directory Access
app.UseStaticFiles(new StaticFileOptions
{
FileProvider = new PhysicalFileProvider(
Path.Combine(env.ContentRootPath, "node_modules")
),
RequestPath = "/npm"
});
// Add Documentation (MkDocs) Support
app.UseFileServer(new FileServerOptions
{
......
{
"version": "1.0",
"defaultProvider": "unpkg",
"libraries": [
{
"library": "bootstrap@4.1.3",
"destination": "wwwroot\\lib\\bootstrap"
},
{
"library": "jquery-countdown@2.2.0",
"destination": "wwwroot\\lib\\jquery-countdown"
},
{
"library": "nprogress@0.2.0",
"destination": "wwwroot\\lib\\nprogress"
},
{
"library": "@aspnet/signalr@1.1.0",
"destination": "wwwroot\\lib\\@aspnet/signalr"
}
]
}
\ No newline at end of file
{
"name": "stratis.guru",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@aspnet/signalr": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@aspnet/signalr/-/signalr-1.0.4.tgz",
"integrity": "sha512-q7HMlTZPkZCa/0UclsXvEyqNirpjRfRuwhjEeADD1i6pqe0Yx5OwuCO7+Xsc6MNKR8vE1C9MyxnSj0SecvUbTA=="
},
"bootstrap": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.1.3.tgz",
"integrity": "sha512-rDFIzgXcof0jDyjNosjv4Sno77X4KuPeFxG2XZZv1/Kc8DRVGVADdoQyyOVDwPqL36DDmtCQbrpMCqvpPLJQ0w=="
},
"jquery-countdown": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/jquery-countdown/-/jquery-countdown-2.2.0.tgz",
"integrity": "sha1-unjtXXzxB7OxysnGugeZfUqi3O8="
},
"nprogress": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz",
"integrity": "sha1-y480xTIT2JVyP8urkH6UIq28r7E="
}
}
}
{
"name": "stratis.guru",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "http://git.clint.network/clintm/Stratis.Guru.git"
},
"author": "",
"license": "ISC",
"dependencies": {
"@aspnet/signalr": "^1.0.4",
"bootstrap": "^4.1.3",
"jquery-countdown": "^2.2.0",
"nprogress": "^0.2.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment