-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
133 lines (133 loc) · 4.11 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "hibp",
"version": "14.1.2",
"description": "An unofficial TypeScript SDK for the 'Have I been pwned?' service.",
"keywords": [
"haveibeenpwned",
"hibp",
"pwned",
"security",
"hack",
"dump",
"breach",
"pastes",
"passwords",
"client"
],
"author": {
"name": "Justin Hall",
"email": "[email protected]"
},
"license": "MIT",
"exports": {
".": {
"browser": "./dist/browser/hibp.module.js",
"umd": "./dist/browser/hibp.umd.js",
"require": "./dist/cjs/hibp.cjs",
"import": "./dist/esm/hibp.js"
},
"./package.json": "./package.json"
},
"type": "module",
"main": "dist/cjs/hibp.cjs",
"module": "dist/esm/hibp.js",
"unpkg": "dist/browser/hibp.umd.js",
"runkitExampleFilename": "example/runkit.js",
"files": [
"dist",
"example",
"API.md",
"CHANGELOG.md",
"MIGRATION.md"
],
"sideEffects": false,
"scripts": {
"build": "run-s --silent build:lib build:types build:docs",
"build:lib": "rollup --config",
"build:docs": "jsdoc2md --no-cache --files src/*.ts --configure jsdoc2md.json > API.md && node scripts/fix-api-docs.js",
"build:types": "dts-bundle-generator --project tsconfig.dts.json --silent --umd-module-name hibp --out-file dist/cjs/hibp.d.cts src/hibp.ts && prettier --log-level silent --write dist/cjs/hibp.d.cts && cpy dist/cjs/hibp.d.cts dist/esm --flat --rename=hibp.d.ts",
"changeset": "changeset",
"changeset:version": "changeset version && npm install --package-lock-only",
"changeset:publish": "changeset publish",
"typecheck": "tsc --noEmit",
"clean": "rimraf dist coverage",
"format": "prettier --cache --write .",
"format:check": "prettier --cache --check .",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"prebuild": "npm run --silent clean",
"prepublishOnly": "npm run build",
"size": "bundlewatch --config .bundlewatch.config.json",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"pretest:browser:open": "npm run --silent build:lib",
"test:browser:open": "playwright test --ui",
"pretest:browser:run": "npm run --silent build:lib",
"test:browser:run": "playwright test",
"test:watch": "vitest watch"
},
"private": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wKovacs64/hibp.git"
},
"bugs": {
"url": "https://github.com/wKovacs64/hibp/issues"
},
"homepage": "https://wkovacs64.github.io/hibp",
"engines": {
"node": ">= 18.0.0"
},
"dependencies": {
"jssha": "^3.3.1",
"undici": "^6.14.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.3",
"@babel/core": "7.26.0",
"@babel/parser": "7.26.5",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/preset-env": "7.26.0",
"@babel/preset-typescript": "7.26.0",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.11",
"@playwright/test": "1.49.1",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-replace": "6.0.2",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.2",
"@types/common-tags": "1.8.4",
"@types/debug": "4.1.12",
"@types/node": "22.10.7",
"@types/ws": "8.5.13",
"@vitest/coverage-v8": "2.1.8",
"@wkovacs64/eslint-config": "7.5.0",
"@wkovacs64/prettier-config": "4.1.1",
"babel-plugin-annotate-pure-calls": "0.5.0",
"bundlewatch": "0.4.0",
"common-tags": "1.8.2",
"cpy-cli": "5.0.0",
"cross-env": "7.0.3",
"dts-bundle-generator": "9.5.1",
"eslint": "9.18.0",
"glob": "11.0.1",
"jsdoc-babel": "0.5.0",
"jsdoc-to-markdown": "9.1.1",
"msw": "2.7.0",
"npm-run-all2": "7.0.2",
"prettier": "3.4.2",
"rimraf": "6.0.1",
"rollup": "4.30.1",
"serve": "14.2.4",
"tslib": "2.8.1",
"type-fest": "4.32.0",
"typescript": "5.7.3",
"vitest": "2.1.8"
}
}