113 lines
4.2 KiB
JSON
113 lines
4.2 KiB
JSON
{
|
|
"name": "@suaveplan/password-strength",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"description": "zxcvbn-style password strength estimator — pattern-matching + dictionary cracker model per Wheeler 2016. Universal, zero browser/Node/React deps.",
|
|
"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" }
|
|
},
|
|
"./assess": {
|
|
"import": { "types": "./dist/assess/index.d.ts", "default": "./dist/assess/index.js" }
|
|
},
|
|
"./feedback": {
|
|
"import": { "types": "./dist/feedback/index.d.ts", "default": "./dist/feedback/index.js" }
|
|
},
|
|
"./scoring": {
|
|
"import": { "types": "./dist/scoring/index.d.ts", "default": "./dist/scoring/index.js" }
|
|
},
|
|
"./matchers/dictionary": {
|
|
"import": { "types": "./dist/matchers/dictionary/index.d.ts", "default": "./dist/matchers/dictionary/index.js" }
|
|
},
|
|
"./matchers/sequence": {
|
|
"import": { "types": "./dist/matchers/sequence/index.d.ts", "default": "./dist/matchers/sequence/index.js" }
|
|
},
|
|
"./matchers/repeat": {
|
|
"import": { "types": "./dist/matchers/repeat/index.d.ts", "default": "./dist/matchers/repeat/index.js" }
|
|
},
|
|
"./matchers/date": {
|
|
"import": { "types": "./dist/matchers/date/index.d.ts", "default": "./dist/matchers/date/index.js" }
|
|
},
|
|
"./matchers/keyboard": {
|
|
"import": { "types": "./dist/matchers/keyboard/index.d.ts", "default": "./dist/matchers/keyboard/index.js" }
|
|
},
|
|
"./matchers/regex": {
|
|
"import": { "types": "./dist/matchers/regex/index.d.ts", "default": "./dist/matchers/regex/index.js" }
|
|
},
|
|
"./dicts/en": {
|
|
"import": { "types": "./dist/dicts/en/index.d.ts", "default": "./dist/dicts/en/index.js" }
|
|
},
|
|
"./dicts/de": {
|
|
"import": { "types": "./dist/dicts/de/index.d.ts", "default": "./dist/dicts/de/index.js" }
|
|
},
|
|
"./dicts/fr": {
|
|
"import": { "types": "./dist/dicts/fr/index.d.ts", "default": "./dist/dicts/fr/index.js" }
|
|
},
|
|
"./dicts/es": {
|
|
"import": { "types": "./dist/dicts/es/index.d.ts", "default": "./dist/dicts/es/index.js" }
|
|
},
|
|
"./dicts/zh-Hans": {
|
|
"import": { "types": "./dist/dicts/zh-Hans/index.d.ts", "default": "./dist/dicts/zh-Hans/index.js" }
|
|
},
|
|
"./dicts/ru": {
|
|
"import": { "types": "./dist/dicts/ru/index.d.ts", "default": "./dist/dicts/ru/index.js" }
|
|
},
|
|
"./graphs/qwerty": {
|
|
"import": { "types": "./dist/graphs/qwerty/index.d.ts", "default": "./dist/graphs/qwerty/index.js" }
|
|
},
|
|
"./graphs/dvorak": {
|
|
"import": { "types": "./dist/graphs/dvorak/index.d.ts", "default": "./dist/graphs/dvorak/index.js" }
|
|
},
|
|
"./graphs/azerty": {
|
|
"import": { "types": "./dist/graphs/azerty/index.d.ts", "default": "./dist/graphs/azerty/index.js" }
|
|
},
|
|
"./errors": {
|
|
"import": { "types": "./dist/errors/index.d.ts", "default": "./dist/errors/index.js" }
|
|
},
|
|
"./schemas": {
|
|
"import": { "types": "./dist/schemas/index.d.ts", "default": "./dist/schemas/index.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/types": "workspace:^",
|
|
"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"]
|
|
}
|