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

72 lines
1.5 KiB
JSON

{
"name": "@hono/auth-js",
"version": "1.0.15",
"description": "A third-party Auth js middleware for Hono",
"main": "dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./react": {
"import": {
"types": "./dist/react.d.mts",
"default": "./dist/react.mjs"
},
"require": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
}
}
},
"typesVersions": {
"*": {
"react": [
"./dist/react.d.mts"
]
}
},
"files": [
"dist"
],
"scripts": {
"test": "vitest --run",
"build": "tsup",
"prerelease": "yarn build && yarn test",
"release": "yarn publish"
},
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/honojs/middleware.git"
},
"homepage": "https://github.com/honojs/middleware",
"peerDependencies": {
"@auth/core": "0.*",
"hono": ">=3.*",
"react": "^18 || ^19 || ^19.0.0-rc"
},
"devDependencies": {
"@auth/core": "^0.35.3",
"@types/react": "^18",
"hono": "^3.11.7",
"react": "^18.2.0",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"vitest": "^3.0.8"
},
"engines": {
"node": ">=18.4.0"
}
}