UNPKG

better-auth-harmony

Version:

Validation and normalization for better-auth

121 lines 3.04 kB
{ "name": "better-auth-harmony", "version": "1.2.5", "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": "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": "^22.15.24", "@types/react": "^19.1.6", "@types/react-dom": "19.1.5", "@types/validator": "^13.15.1", "@vitest/coverage-v8": "^2.1.9", "better-auth": "1.2.8", "eslint": "^9.27.0", "rimraf": "^6.0.1", "tsup": "^8.5.0", "typescript": "^5.8.3", "vite-tsconfig-paths": "^5.1.4", "vitest": "^2.1.9" }, "peerDependencies": { "better-auth": "^1.0.3" }, "dependencies": { "libphonenumber-js": "^1.12.8", "mailchecker": "^6.0.17", "validator": "^13.15.15" } }