-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
133 lines (133 loc) · 4.12 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": "justin.r.hall@gmail.com"
},
"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.16.1",
"@babel/core": "7.25.2",
"@babel/parser": "7.25.6",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/preset-env": "7.25.4",
"@babel/preset-typescript": "7.24.7",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.8",
"@playwright/test": "1.47.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "26.0.1",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.7",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@types/common-tags": "1.8.4",
"@types/debug": "4.1.12",
"@types/node": "20.16.5",
"@types/ws": "8.5.12",
"@vitest/coverage-v8": "2.0.5",
"@wkovacs64/eslint-config": "7.2.5",
"@wkovacs64/prettier-config": "4.1.1",
"babel-plugin-annotate-pure-calls": "0.4.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": "8.57.0",
"eslint-plugin-playwright": "1.6.2",
"glob": "11.0.0",
"jsdoc-babel": "0.5.0",
"jsdoc-to-markdown": "9.0.1",
"msw": "2.4.4",
"npm-run-all2": "6.2.2",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"rollup": "4.21.2",
"serve": "14.2.3",
"tslib": "2.7.0",
"typescript": "5.5.4",
"vitest": "2.0.5"
}
}