-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
63 lines (63 loc) · 1.77 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "@mathiscode/password-leak",
"version": "2.0.4",
"description": "A library to check for compromised passwords",
"homepage": "https://github.com/mathiscode/password-leak",
"license": "MIT",
"type": "module",
"author": {
"name": "Jay Mathis",
"email": "[email protected]",
"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": {
".": {
"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"
}
}