UNPKG

better-auth-harmony

Version:

Validation and normalization for better-auth

124 lines (123 loc) 3.11 kB
{ "name": "better-auth-harmony", "version": "1.3.2", "author": "George Kormaris <npm@gekorm.com>", "description": "Validation and normalization for better-auth", "type": "module", "scripts": { "lint": "eslint .", "typecheck": "tsc --noEmit --project tsconfig.build.json", "emit-types": "rimraf -g dist/**/*{.ts,.ts.map}; tsc --emitDeclarationOnly --declaration --project tsconfig.build.json", "build": "tsup", "test": "vitest run --coverage --coverage.include=src", "test:watch": "vitest" }, "keywords": [ "authentication", "better-auth", "email", "domains", "disposable", "phone number", "mobile" ], "license": "MIT", "homepage": "https://github.com/gekorm/better-auth-harmony", "repository": { "type": "git", "url": "git+https://github.com/GeKorm/better-auth-harmony.git" }, "bugs": { "url": "https://github.com/gekorm/better-auth-harmony/issues" }, "publishConfig": { "access": "public", "provenance": true }, "main": "./dist/index.cjs", "module": "./dist/index.js", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./phone": { "import": { "types": "./dist/phone.d.ts", "default": "./dist/phone.js" }, "require": { "types": "./dist/phone.d.cts", "default": "./dist/phone.cjs" } }, "./email": { "import": { "types": "./dist/email.d.ts", "default": "./dist/email.js" }, "require": { "types": "./dist/email.d.cts", "default": "./dist/email.cjs" } }, "./email/matchers": { "import": { "types": "./dist/email/matchers.d.ts", "default": "./dist/email/matchers.js" }, "require": { "types": "./dist/email/matchers.d.cts", "default": "./dist/email/matchers.cjs" } }, "./phone/matchers": { "import": { "types": "./dist/phone/matchers.d.ts", "default": "./dist/phone/matchers.js" }, "require": { "types": "./dist/phone/matchers.d.cts", "default": "./dist/phone/matchers.cjs" } } }, "files": [ "dist", "LICENSE.md", "README.md" ], "devDependencies": { "@repo/eslint-config": "*", "@repo/tsconfig": "*", "@types/eslint": "^9.6.1", "@types/node": "^24.10.14", "@types/react": "^19.2.14", "@types/react-dom": "19.2.3", "@types/validator": "^13.15.10", "@vitest/coverage-v8": "^4.0.18", "better-auth": "1.4.19", "better-sqlite3": "^12.6.2", "eslint": "^9.39.3", "rimraf": "^6.1.3", "tsup": "^8.5.1", "typescript": "^5.9.3", "vite": "^7.3.1", "vite-tsconfig-paths": "^6.1.1", "vitest": "^4.0.18" }, "peerDependencies": { "better-auth": "^1.0.3" }, "dependencies": { "libphonenumber-js": "^1.12.37", "mailchecker": "^6.0.19", "validator": "^13.15.26" } }