UNPKG

@tanosugi/better-auth-utils

Version:

Better Auth Utils

112 lines (111 loc) 3.6 kB
{ "name": "@tanosugi/better-auth-utils", "version": "0.0.13", "description": "Better Auth Utils", "main": "src/index.ts", "scripts": { "start": "tsc && node dist/index.js", "build:js": "tsup --clean --dts", "build:ts": "tsc", "build": "npm run build:js && npm run build:ts", "generate-enjson": "bun src/script/generate-enjson.ts", "translate-ui-json": "bash -c 'set -a && source .env && npx json-autotranslate --input src/locales/ui --delete-unused-strings --type key-based --service google-translate --config google-service-account.json --fix-inconsistencies --directory-structure ngx-translate --source-language en'", "translate-error-codes-json-backup": "bash -c 'set -a && source .env && npx json-autotranslate --input src/locales/error-codes --delete-unused-strings --type natural --service google-translate --config google-service-account.json --fix-inconsistencies --directory-structure ngx-translate --source-language en'", "translate-error-codes-json": "bash -c 'set -a && source .env && npx json-autotranslate --input src/locales/error-codes --delete-unused-strings --type key-based --service google-translate --config google-service-account.json --fix-inconsistencies --directory-structure ngx-translate --source-language en'", "publish-npm": "npm publish --access public", "version": "npm pkg get version", "version:patch": "npm version patch", "can-npm-publish": "npx can-npm-publish --verbose", "biome-check": "biome check --apply src", "test": "vitest" }, "keywords": [ "better-auth", "better-auth-ui", "better-auth-utils" ], "author": "tanosugi", "license": "MIT", "devDependencies": { "@lobehub/i18n-cli": "^1.25.1", "@types/better-sqlite3": "^7.6.13", "@types/node": "^24.5.2", "@types/react": "^19.1.15", "@types/react-dom": "^19.1.9", "@vitest/coverage-istanbul": "^3.2.4", "@vitest/ui": "^3.2.4", "better-sqlite3": "^12.4.1", "esbuild-plugin-preserve-directives": "^0.0.11", "i18n-auto-translation": "^2.2.1", "lefthook": "^1.13.4", "ts-node": "^10.9.2", "tsup": "^8.5.0", "typescript": "^5.9.2", "vitest": "^3.2.4" }, "dependencies": { "@better-auth/root": "better-auth/better-auth", "@daveyplate/better-auth-ui": "^3.2.5", "better-auth": "^1.3.18", "next": "^15.5.4" }, "files": [ "dist", "README.md" ], "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./api": { "import": { "types": "./dist/api.d.ts", "default": "./dist/api.js" }, "require": { "types": "./dist/api.d.cts", "default": "./dist/api.cjs" } }, "./fetchdict": { "import": { "types": "./dist/fetchdict.d.ts", "default": "./dist/fetchdict.js" }, "require": { "types": "./dist/fetchdict.d.cts", "default": "./dist/fetchdict.cjs" } }, "./plugin-localization": { "import": { "types": "./dist/plugin-localization.d.ts", "default": "./dist/plugin-localization.js" } } }, "typesVersions": { "*": { "fetchdict": [ "dist/fetchdict.d.ts" ], "plugin-localization": [ "dist/plugin-localization.d.ts" ], "api": [ "dist/api.d.ts" ], "*": [ "dist/index.d.ts" ] } } }