UNPKG

@mathiscode/password-leak

Version:

A library to check for compromised passwords

65 lines (64 loc) 1.85 kB
{ "name": "@mathiscode/password-leak", "version": "2.0.7", "description": "A library to check for compromised passwords", "homepage": "https://github.com/mathiscode/password-leak", "license": "MIT", "type": "module", "author": { "name": "Jay Mathis", "email": "code@mathis.network", "url": "https://github.com/mathiscode" }, "repository": { "type": "git", "url": "https://github.com/mathiscode/password-leak.git" }, "bugs": { "url": "https://github.com/mathiscode/password-leak/issues" }, "bin": { "password-leak": "./dist/cli.cjs" }, "exports": { ".": { "default": "./dist/index.js", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "files": [ "dist" ], "scripts": { "build": "npm run build:lib && npm run build:cli && npm run copy:ui", "build:cli": "esbuild src/cli.ts --bundle --minify --sourcemap --platform=node --outfile=dist/cli.cjs", "build:lib": "npm run build:lib:esm && npm run build:lib:cjs", "build:lib:esm": "esbuild src/index.ts --bundle --minify --sourcemap --outfile=dist/index.js", "build:lib:cjs": "esbuild src/index.ts --bundle --minify --sourcemap --platform=node --outfile=dist/index.cjs", "build:watch": "esbuild src/index.ts --bundle --minify --sourcemap --outfile=dist/index.js --watch", "copy:ui": "cp index.html ui.* dist/", "test": "jest", "ui": "serve -l 1984 ." }, "keywords": [ "password", "leak", "breach", "security", "haveibeenpwned" ], "publishConfig": { "access": "public" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.13.0", "check-password-strength": "^3.0.0", "esbuild": "^0.25.0", "esbuild-jest": "^0.5.0", "jest": "^29.7.0", "serve": "^14.2.4", "ts-node": "^10.9.2" } }