Files
better-auth/packages/api-key/package.json
2026-03-03 12:14:56 +09:00

81 lines
1.8 KiB
JSON

{
"name": "@better-auth/api-key",
"version": "1.5.1-beta.3",
"description": "API Key plugin for Better Auth.",
"type": "module",
"license": "MIT",
"homepage": "https://www.better-auth.com/docs/plugins/api-key",
"repository": {
"type": "git",
"url": "git+https://github.com/better-auth/better-auth.git",
"directory": "packages/api-key"
},
"keywords": [
"auth",
"api-key",
"typescript",
"better-auth"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"lint:package": "publint run --strict",
"lint:types": "attw --profile esm-only --pack .",
"typecheck": "tsc --project tsconfig.json",
"test": "vitest",
"coverage": "vitest run --coverage --coverage.provider=istanbul"
},
"files": [
"dist"
],
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"exports": {
".": {
"dev-source": "./src/index.ts",
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./client": {
"dev-source": "./src/client.ts",
"types": "./dist/client.d.mts",
"default": "./dist/client.mjs"
},
"./types": {
"dev-source": "./src/types.ts",
"types": "./dist/types.d.mts",
"default": "./dist/types.mjs"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/index.d.mts"
],
"client": [
"./dist/client.d.mts"
],
"types": [
"./dist/types.d.mts"
]
}
},
"dependencies": {
"zod": "^4.3.6"
},
"devDependencies": {
"@better-auth/core": "workspace:*",
"better-auth": "workspace:*",
"tsdown": "catalog:"
},
"peerDependencies": {
"@better-auth/core": "workspace:*",
"better-auth": "workspace:*",
"@better-auth/utils": "catalog:"
}
}