mirror of https://github.com/abpframework/abp
Merge pull request #17666 from abpframework/liangshiwei/passwordStrengthMvc
Add @abp/zxcvbn npm packagepull/17672/head
commit
fec388d4c5
@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
|
||||
|
||||
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.Zxcvbn;
|
||||
|
||||
public class ZxcvbnScriptContributor : BundleContributor
|
||||
{
|
||||
public override void ConfigureBundle(BundleConfigurationContext context)
|
||||
{
|
||||
context.Files.AddIfNotContains("/libs/zxcvbn/zxcvbn.js");
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
mappings: {
|
||||
"@node_modules/zxcvbn/dist/zxcvbn.js": "@libs/zxcvbn/"
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
{
|
||||
"version": "7.4.0-rc.3",
|
||||
"name": "@abp/zxcvbn",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@abp/core": "~7.4.0-rc.3",
|
||||
"zxcvbn" : "^4.4.2"
|
||||
},
|
||||
"gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431",
|
||||
"homepage": "https://abp.io",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/abpframework/abp.git"
|
||||
},
|
||||
"license": "LGPL-3.0",
|
||||
"keywords": [
|
||||
"aspnetcore",
|
||||
"boilerplate",
|
||||
"framework",
|
||||
"web",
|
||||
"best-practices",
|
||||
"angular",
|
||||
"maui",
|
||||
"blazor",
|
||||
"mvc",
|
||||
"csharp",
|
||||
"webapp"
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in new issue