2023-12-29 03:30:25 +08:00
|
|
|
{
|
|
|
|
"name": "@hono/auth-js",
|
2024-11-08 03:55:22 +08:00
|
|
|
"version": "1.0.15",
|
2023-12-29 03:30:25 +08:00
|
|
|
"description": "A third-party Auth js middleware for Hono",
|
|
|
|
"main": "dist/index.js",
|
2025-03-25 07:57:15 +08:00
|
|
|
"type": "module",
|
2023-12-29 03:30:25 +08:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": {
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
"default": "./dist/index.js"
|
2025-03-25 07:57:15 +08:00
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"types": "./dist/index.d.cts",
|
|
|
|
"default": "./dist/index.cjs"
|
2023-12-29 03:30:25 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"./react": {
|
|
|
|
"import": {
|
|
|
|
"types": "./dist/react.d.ts",
|
|
|
|
"default": "./dist/react.js"
|
2025-03-25 07:57:15 +08:00
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"types": "./dist/react.d.cts",
|
|
|
|
"default": "./dist/react.cjs"
|
2023-12-29 03:30:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typesVersions": {
|
|
|
|
"*": {
|
|
|
|
"react": [
|
|
|
|
"./dist/react.d.mts"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2025-03-25 07:57:15 +08:00
|
|
|
"build": "tsup src/index.ts src/react.tsx",
|
|
|
|
"prepack": "yarn build",
|
|
|
|
"publint": "attw --pack --profile node16 && publint",
|
2025-04-02 17:28:02 +08:00
|
|
|
"typecheck": "tsc -b tsconfig.json",
|
2025-03-25 07:57:15 +08:00
|
|
|
"test": "vitest"
|
2023-12-29 03:30:25 +08:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"publishConfig": {
|
|
|
|
"registry": "https://registry.npmjs.org",
|
|
|
|
"access": "public"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2025-03-25 07:57:15 +08:00
|
|
|
"url": "git+https://github.com/honojs/middleware.git",
|
|
|
|
"directory": "packages/auth-js"
|
2023-12-29 03:30:25 +08:00
|
|
|
},
|
|
|
|
"homepage": "https://github.com/honojs/middleware",
|
|
|
|
"peerDependencies": {
|
|
|
|
"@auth/core": "0.*",
|
2024-02-10 07:44:21 +08:00
|
|
|
"hono": ">=3.*",
|
2024-11-08 03:48:15 +08:00
|
|
|
"react": "^18 || ^19 || ^19.0.0-rc"
|
2023-12-29 03:30:25 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2025-03-25 07:57:15 +08:00
|
|
|
"@arethetypeswrong/cli": "^0.17.4",
|
2024-10-05 11:40:14 +08:00
|
|
|
"@auth/core": "^0.35.3",
|
2023-12-29 03:30:25 +08:00
|
|
|
"@types/react": "^18",
|
2025-03-25 07:57:15 +08:00
|
|
|
"publint": "^0.3.9",
|
2023-12-29 03:30:25 +08:00
|
|
|
"react": "^18.2.0",
|
2025-03-25 07:57:15 +08:00
|
|
|
"tsup": "^8.4.0",
|
2025-04-02 17:28:02 +08:00
|
|
|
"typescript": "^5.8.2",
|
2025-03-12 11:52:15 +08:00
|
|
|
"vitest": "^3.0.8"
|
2023-12-29 03:30:25 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=18.4.0"
|
|
|
|
}
|
2025-03-27 10:02:11 +08:00
|
|
|
}
|