67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"name": "@resuely/astro-oidc-rp",
|
|
"version": "1.0.0",
|
|
"description": "Astro integration providing OIDC relying-party routes, middleware, and types.",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"dependencies": {
|
|
"jose": "^5.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"astro": ">=5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.0.9",
|
|
"astro": "^5.16.11",
|
|
"tsup": "^8.0.0",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup src/index.ts src/runtime.ts src/middleware.ts src/routes/login.ts src/routes/callback.ts src/routes/logout.ts src/lib/*.ts --dts --format esm --clean --sourcemap --out-dir dist",
|
|
"dev": "tsup --watch src/index.ts src/runtime.ts src/middleware.ts src/routes/login.ts src/routes/callback.ts src/routes/logout.ts src/lib/*.ts --dts --format esm --out-dir dist",
|
|
"postbuild": "mkdir -p dist/types && cp -R types/*.d.ts dist/types/ || true",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./integration": {
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./middleware": {
|
|
"import": "./dist/middleware.js"
|
|
},
|
|
"./routes/login.ts": {
|
|
"import": "./dist/routes/login.js"
|
|
},
|
|
"./routes/callback.ts": {
|
|
"import": "./dist/routes/callback.js"
|
|
},
|
|
"./routes/logout.ts": {
|
|
"import": "./dist/routes/logout.js"
|
|
},
|
|
"./astro-locals": {
|
|
"types": "./dist/types/astro.locals.d.ts"
|
|
}
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.rlugo.dev/raul/astro-oidc-rp"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|