Initial Commit
This commit is contained in:
98
packages/security-stack/security/hibp/package.json
Normal file
98
packages/security-stack/security/hibp/package.json
Normal file
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"name": "@suaveplan/hibp",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Privacy-preserving Have I Been Pwned v3 client — k-anonymity range API, authenticated breach/paste API, LRU cache, differential-privacy mode",
|
||||
"license": "MIT",
|
||||
"author": "Suaveplan Team",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
||||
"require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
||||
},
|
||||
"./range/range": {
|
||||
"import": { "types": "./dist/range/range.d.ts", "default": "./dist/range/range.js" }
|
||||
},
|
||||
"./range/range-mode": {
|
||||
"import": { "types": "./dist/range/range-mode.d.ts", "default": "./dist/range/range-mode.js" }
|
||||
},
|
||||
"./breach/breach-client": {
|
||||
"import": { "types": "./dist/breach/breach-client.d.ts", "default": "./dist/breach/breach-client.js" }
|
||||
},
|
||||
"./cache/cache": {
|
||||
"import": { "types": "./dist/cache/cache.d.ts", "default": "./dist/cache/cache.js" }
|
||||
},
|
||||
"./cache/lru": {
|
||||
"import": { "types": "./dist/cache/lru.d.ts", "default": "./dist/cache/lru.js" }
|
||||
},
|
||||
"./cache/null": {
|
||||
"import": { "types": "./dist/cache/null.d.ts", "default": "./dist/cache/null.js" }
|
||||
},
|
||||
"./client/client": {
|
||||
"import": { "types": "./dist/client/client.d.ts", "default": "./dist/client/client.js" }
|
||||
},
|
||||
"./client/options.schema": {
|
||||
"import": { "types": "./dist/client/options.schema.d.ts", "default": "./dist/client/options.schema.js" }
|
||||
},
|
||||
"./errors/codes": {
|
||||
"import": { "types": "./dist/errors/codes.d.ts", "default": "./dist/errors/codes.js" }
|
||||
},
|
||||
"./errors/hibp-error": {
|
||||
"import": { "types": "./dist/errors/hibp-error.d.ts", "default": "./dist/errors/hibp-error.js" }
|
||||
},
|
||||
"./schemas/breach.schema": {
|
||||
"import": { "types": "./dist/schemas/breach.schema.d.ts", "default": "./dist/schemas/breach.schema.js" }
|
||||
},
|
||||
"./schemas/paste.schema": {
|
||||
"import": { "types": "./dist/schemas/paste.schema.d.ts", "default": "./dist/schemas/paste.schema.js" }
|
||||
},
|
||||
"./schemas/pwned-result.schema": {
|
||||
"import": { "types": "./dist/schemas/pwned-result.schema.d.ts", "default": "./dist/schemas/pwned-result.schema.js" }
|
||||
},
|
||||
"./observability/metrics": {
|
||||
"import": { "types": "./dist/observability/metrics.d.ts", "default": "./dist/observability/metrics.js" }
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"@suaveplan/retry": "workspace:^",
|
||||
"@suaveplan/timing": "workspace:^",
|
||||
"@suaveplan/types": "workspace:^",
|
||||
"@noble/hashes": "catalog:crypto",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms",
|
||||
"@opentelemetry/api": "catalog:observability"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"fast-check": "catalog:testing",
|
||||
"typescript": "catalog:",
|
||||
"vite": "catalog:build",
|
||||
"vite-plugin-dts": "catalog:build",
|
||||
"vitest": "catalog:testing"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://npmjs.fq.io/",
|
||||
"access": "public"
|
||||
},
|
||||
"files": ["dist", "src", "README.md"]
|
||||
}
|
||||
Reference in New Issue
Block a user