Initial Commit
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"name": "@suaveplan/password-generator",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Cryptographically-strong password and passphrase generator — char-class, pronounceable, EFF Diceware, PIN, entropy estimator. Universal, zero browser/Node 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" }
|
||||
},
|
||||
"./password": {
|
||||
"import": { "types": "./dist/password/index.d.ts", "default": "./dist/password/index.js" }
|
||||
},
|
||||
"./passphrase": {
|
||||
"import": { "types": "./dist/passphrase/index.d.ts", "default": "./dist/passphrase/index.js" }
|
||||
},
|
||||
"./pin": {
|
||||
"import": { "types": "./dist/pin/index.d.ts", "default": "./dist/pin/index.js" }
|
||||
},
|
||||
"./entropy": {
|
||||
"import": { "types": "./dist/entropy/index.d.ts", "default": "./dist/entropy/index.js" }
|
||||
},
|
||||
"./wordlists/eff-long": {
|
||||
"import": { "types": "./dist/wordlists/eff-long.d.ts", "default": "./dist/wordlists/eff-long.js" }
|
||||
},
|
||||
"./wordlists/eff-short": {
|
||||
"import": { "types": "./dist/wordlists/eff-short.d.ts", "default": "./dist/wordlists/eff-short.js" }
|
||||
},
|
||||
"./wordlists/registry": {
|
||||
"import": { "types": "./dist/wordlists/registry.d.ts", "default": "./dist/wordlists/registry.js" }
|
||||
},
|
||||
"./random": {
|
||||
"import": { "types": "./dist/random/index.d.ts", "default": "./dist/random/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/crypto-utils": "workspace:^",
|
||||
"@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"]
|
||||
}
|
||||
Reference in New Issue
Block a user