mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
136 lines
3.8 KiB
JSON
136 lines
3.8 KiB
JSON
{
|
|
"name": "next-auth",
|
|
"version": "4.3.4",
|
|
"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>"
|
|
],
|
|
"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": "yarn clean && yarn run build:js && yarn run build:css",
|
|
"clean": "rm -rf client css lib providers core jwt react next index.d.ts index.js adapters.d.ts middleware.d.ts middleware.js",
|
|
"build:js": "yarn run clean && yarn run 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": "jest --config ./config/jest.config.js",
|
|
"prepublishOnly": "yarn run build",
|
|
"generate-providers": "node ./config/generate-providers.js",
|
|
"setup": "yarn run 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"
|
|
],
|
|
"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.16.0",
|
|
"@babel/core": "^7.16.0",
|
|
"@babel/plugin-proposal-optional-catch-binding": "^7.16.0",
|
|
"@babel/plugin-transform-runtime": "^7.16.4",
|
|
"@babel/preset-env": "^7.16.4",
|
|
"@babel/preset-react": "^7.16.0",
|
|
"@babel/preset-typescript": "^7.16.0",
|
|
"@testing-library/dom": "^8.11.3",
|
|
"@testing-library/jest-dom": "^5.16.1",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@testing-library/react-hooks": "^7.0.2",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/node": "^16.11.12",
|
|
"@types/nodemailer": "^6.4.4",
|
|
"@types/oauth": "^0.9.1",
|
|
"@types/react": "^17.0.37",
|
|
"@types/react-dom": "^17.0.11",
|
|
"autoprefixer": "^10.4.0",
|
|
"babel-jest": "^27.4.2",
|
|
"babel-plugin-jsx-pragmatic": "^1.0.2",
|
|
"babel-preset-preact": "^2.0.0",
|
|
"cpx": "^1.5.0",
|
|
"cssnano": "^5.0.12",
|
|
"jest": "^27.4.3",
|
|
"jest-watch-typeahead": "^1.0.0",
|
|
"msw": "^0.36.3",
|
|
"next": "12.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss-cli": "^9.0.2",
|
|
"postcss-nested": "^5.0.6",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"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__"
|
|
]
|
|
}
|