72 lines
1.8 KiB
JSON
72 lines
1.8 KiB
JSON
{
|
|
"name": "@emdash-cms/auth",
|
|
"version": "0.1.0",
|
|
"description": "Passkey-first authentication for EmDash",
|
|
"type": "module",
|
|
"main": "dist/index.mjs",
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./passkey": {
|
|
"types": "./dist/passkey/index.d.mts",
|
|
"default": "./dist/passkey/index.mjs"
|
|
},
|
|
"./adapters/kysely": {
|
|
"types": "./dist/adapters/kysely.d.mts",
|
|
"default": "./dist/adapters/kysely.mjs"
|
|
},
|
|
"./oauth/github": {
|
|
"types": "./dist/oauth/providers/github.d.mts",
|
|
"default": "./dist/oauth/providers/github.mjs"
|
|
},
|
|
"./oauth/google": {
|
|
"types": "./dist/oauth/providers/google.d.mts",
|
|
"default": "./dist/oauth/providers/google.mjs"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsdown --watch",
|
|
"check": "publint && attw --pack --ignore-rules=cjs-resolves-to-esm --ignore-rules=no-resolution",
|
|
"test": "vitest",
|
|
"typecheck": "tsgo --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@oslojs/crypto": "^1.0.1",
|
|
"@oslojs/encoding": "^1.1.0",
|
|
"@oslojs/webauthn": "^1.0.0",
|
|
"ulidx": "^2.4.1",
|
|
"zod": "^4.3.5"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": ">=6.0.0-beta.0",
|
|
"kysely": "^0.27.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"kysely": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"astro": "catalog:",
|
|
"publint": "catalog:",
|
|
"tsdown": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/emdash-cms/emdash.git",
|
|
"directory": "packages/auth"
|
|
},
|
|
"author": "Matt Kane",
|
|
"license": "MIT"
|
|
} |