mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
134 lines
4.0 KiB
JSON
134 lines
4.0 KiB
JSON
{
|
|
"name": "next-auth",
|
|
"version": "4.18.6",
|
|
"description": "Authentication for Next.js",
|
|
"homepage": "https://next-auth.js.org",
|
|
"repository": "https://github.com/nextauthjs/next-auth.git",
|
|
"author": "Iain Collins <me@iaincollins.com>",
|
|
"contributors": [
|
|
"Balázs Orbán <info@balazsorban.com>",
|
|
"Nico Domino <yo@ndo.dev>",
|
|
"Lluis Agusti <hi@llu.lu>",
|
|
"Thang Huu Vu <thvu@hey.com>"
|
|
],
|
|
"main": "index.js",
|
|
"module": "index.js",
|
|
"types": "index.d.ts",
|
|
"keywords": [
|
|
"react",
|
|
"nodejs",
|
|
"oauth",
|
|
"jwt",
|
|
"oauth2",
|
|
"authentication",
|
|
"nextjs",
|
|
"csrf",
|
|
"oidc",
|
|
"nextauth"
|
|
],
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./jwt": "./jwt/index.js",
|
|
"./react": "./react/index.js",
|
|
"./core": "./core/index.js",
|
|
"./next": "./next/index.js",
|
|
"./middleware": "./middleware.js",
|
|
"./client/_utils": "./client/_utils.js",
|
|
"./providers/*": "./providers/*.js"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm clean && pnpm build:js && pnpm build:css",
|
|
"build:js": "pnpm clean && pnpm generate-providers && pnpm tsc --project tsconfig.json && babel --config-file ./config/babel.config.js src --out-dir . --extensions \".tsx,.ts,.js,.jsx\"",
|
|
"clean": "rm -rf coverage client css utils providers core jwt react next index.d.ts index.js adapters.d.ts middleware.d.ts middleware.js",
|
|
"build:css": "postcss --config config/postcss.config.js src/**/*.css --base src --dir . && node config/wrap-css.js",
|
|
"dev": "pnpm clean && pnpm generate-providers && concurrently \"pnpm watch:css\" \"pnpm watch:ts\"",
|
|
"watch:ts": "pnpm tsc",
|
|
"watch:css": "postcss --config config/postcss.config.js --watch src/**/*.css --base src --dir .",
|
|
"test": "jest --config ./config/jest.config.js",
|
|
"prepublishOnly": "pnpm build",
|
|
"generate-providers": "node ./config/generate-providers.js"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"css",
|
|
"jwt",
|
|
"react",
|
|
"next",
|
|
"client",
|
|
"providers",
|
|
"core",
|
|
"index.d.ts",
|
|
"index.js",
|
|
"adapters.d.ts",
|
|
"middleware.d.ts",
|
|
"middleware.js",
|
|
"utils"
|
|
],
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.16.3",
|
|
"@panva/hkdf": "^1.0.1",
|
|
"cookie": "^0.5.0",
|
|
"jose": "^4.9.3",
|
|
"oauth": "^0.9.15",
|
|
"openid-client": "^5.1.0",
|
|
"preact": "^10.6.3",
|
|
"preact-render-to-string": "^5.1.19",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"peerDependencies": {
|
|
"next": "^12.2.5 || ^13",
|
|
"nodemailer": "^6.6.5",
|
|
"react": "^17.0.2 || ^18",
|
|
"react-dom": "^17.0.2 || ^18"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"nodemailer": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.17.10",
|
|
"@babel/core": "^7.18.2",
|
|
"@babel/plugin-proposal-optional-catch-binding": "^7.16.7",
|
|
"@babel/plugin-transform-runtime": "^7.18.2",
|
|
"@babel/preset-env": "^7.18.2",
|
|
"@babel/preset-react": "^7.17.12",
|
|
"@babel/preset-typescript": "^7.17.12",
|
|
"@edge-runtime/jest-environment": "1.1.0-beta.35",
|
|
"@next-auth/tsconfig": "workspace:*",
|
|
"@swc/core": "^1.2.198",
|
|
"@swc/jest": "^0.2.21",
|
|
"@testing-library/dom": "^8.13.0",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^13.3.0",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@testing-library/user-event": "^14.2.0",
|
|
"@types/jest": "^28.1.3",
|
|
"@types/node": "^17.0.42",
|
|
"@types/nodemailer": "^6.4.4",
|
|
"@types/oauth": "^0.9.1",
|
|
"@types/react": "^18.0.15",
|
|
"@types/react-dom": "^18.0.6",
|
|
"autoprefixer": "^10.4.7",
|
|
"babel-plugin-jsx-pragmatic": "^1.0.2",
|
|
"babel-preset-preact": "^2.0.0",
|
|
"concurrently": "^7",
|
|
"cssnano": "^5.1.11",
|
|
"jest": "^28.1.1",
|
|
"jest-environment-jsdom": "^28.1.1",
|
|
"jest-watch-typeahead": "^1.1.0",
|
|
"msw": "^0.42.3",
|
|
"next": "13.1.1",
|
|
"postcss": "^8.4.14",
|
|
"postcss-cli": "^9.1.0",
|
|
"postcss-nested": "^5.0.6",
|
|
"react": "^18",
|
|
"react-dom": "^18",
|
|
"whatwg-fetch": "^3.6.2"
|
|
},
|
|
"engines": {
|
|
"node": "^12.19.0 || ^14.15.0 || ^16.13.0 || ^18.12.0"
|
|
}
|
|
}
|