honojs-middleware/packages/oauth-providers/package.json

79 lines
1.8 KiB
JSON

{
"name": "@hono/oauth-providers",
"version": "0.7.0",
"description": "Social login for Hono JS, integrate authentication with facebook, github, google and linkedin to your projects.",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"./dist"
],
"scripts": {
"build": "tsup ./src/index.ts ./src/providers/**/index.ts ./src/providers/**/types.ts --no-splitting",
"prepack": "yarn build",
"publint": "attw --pack && publint",
"test": "vitest"
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./*": {
"import": {
"types": "./dist/providers/*/index.d.ts",
"default": "./dist/providers/*/index.js"
},
"require": {
"types": "./dist/providers/*/index.d.cts",
"default": "./dist/providers/*/index.cjs"
}
}
},
"typesVersions": {
"*": {
"facebook": [
"./dist/providers/facebook/index.d.ts"
],
"github": [
"./dist/providers/github/index.d.ts"
],
"google": [
"./dist/providers/google/index.d.ts"
],
"linkedin": [
"./dist/providers/linkedin/index.d.ts"
],
"x": [
"./dist/providers/x/index.d.ts"
],
"discord": [
"./dist/providers/discord/index.d.ts"
],
"twitch": [
"./dist/providers/twitch/index.d.ts"
]
}
},
"peerDependencies": {
"hono": ">=3.*"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"msw": "^2.0.11",
"publint": "^0.3.9",
"tsup": "^8.4.0",
"vitest": "^3.0.8"
},
"engines": {
"node": ">=18.4.0"
}
}