mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
142 lines
4.1 KiB
JSON
142 lines
4.1 KiB
JSON
{
|
|
"name": "next-auth",
|
|
"version": "4.10.2",
|
|
"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",
|
|
"clean": "rm -rf client css utils providers core jwt react next index.d.ts index.js adapters.d.ts middleware.d.ts middleware.js",
|
|
"build:js": "pnpm clean && pnpm generate-providers && tsc && babel --config-file ./config/babel.config.js src --out-dir . --extensions \".tsx,.ts,.js,.jsx\"",
|
|
"build:css": "postcss --config config/postcss.config.js src/**/*.css --base src --dir . && node config/wrap-css.js",
|
|
"watch:css": "postcss --config config/postcss.config.js --watch src/**/*.css --base src --dir .",
|
|
"test:client": "jest --config ./config/jest.client.config.js",
|
|
"test:core": "jest --config ./config/jest.core.config.js",
|
|
"test": "pnpm test:core && pnpm test:client",
|
|
"prepublishOnly": "pnpm build",
|
|
"generate-providers": "node ./config/generate-providers.js",
|
|
"setup": "pnpm generate-providers",
|
|
"lint": "eslint src config"
|
|
},
|
|
"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.4.1",
|
|
"jose": "^4.3.7",
|
|
"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": {
|
|
"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",
|
|
"@next-auth/tsconfig": "workspace:^0.0.0",
|
|
"@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.0",
|
|
"@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",
|
|
"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": "12.2.0",
|
|
"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"
|
|
},
|
|
"eslintConfig": {
|
|
"parserOptions": {
|
|
"project": "./tsconfig.eslint.json"
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"./*.d.ts",
|
|
"**/tests",
|
|
"**/__tests__"
|
|
]
|
|
} |