honojs-middleware/packages/auth-js/package.json

76 lines
1.6 KiB
JSON

{
"name": "@hono/auth-js",
"version": "1.0.15",
"description": "A third-party Auth js middleware for Hono",
"main": "dist/index.js",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./react": {
"import": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
},
"require": {
"types": "./dist/react.d.cts",
"default": "./dist/react.cjs"
}
}
},
"typesVersions": {
"*": {
"react": [
"./dist/react.d.mts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts src/react.tsx",
"prepack": "yarn build",
"publint": "attw --pack --profile node16 && publint",
"typecheck": "tsc -b tsconfig.json",
"test": "vitest"
},
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/honojs/middleware.git",
"directory": "packages/auth-js"
},
"homepage": "https://github.com/honojs/middleware",
"peerDependencies": {
"@auth/core": "0.*",
"hono": ">=3.*",
"react": "^18 || ^19 || ^19.0.0-rc"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@auth/core": "^0.35.3",
"@types/react": "^18",
"publint": "^0.3.9",
"react": "^18.2.0",
"tsup": "^8.4.0",
"typescript": "^5.8.2",
"vitest": "^3.0.8"
},
"engines": {
"node": ">=18.4.0"
}
}