mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
217 lines
5.9 KiB
JSON
217 lines
5.9 KiB
JSON
{
|
|
"name": "next-auth",
|
|
"version": "0.0.0-semantically-released",
|
|
"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",
|
|
"./client/_utils": "./client/_utils.js",
|
|
"./providers/*": "./providers/*.js"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:js && npm run build:css",
|
|
"clean": "rm -rf client css lib providers core jwt react next index.d.ts index.js adapters.d.ts",
|
|
"build:js": "npm run clean && npm 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",
|
|
"dev:setup": "npm i && npm run generate-providers && npm run build:css && cd app && npm i",
|
|
"dev": "cd app && npm run dev",
|
|
"watch:css": "postcss --config config/postcss.config.js --watch src/**/*.css --base src --dir .",
|
|
"test": "jest --config ./config/jest.config.js",
|
|
"test:ci": "npm run lint && npm run test -- --ci",
|
|
"prepublishOnly": "npm run build",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"version:pr": "node ./config/version-pr",
|
|
"generate-providers": "node ./config/generate-providers.js"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"css",
|
|
"jwt",
|
|
"react",
|
|
"next",
|
|
"client",
|
|
"providers",
|
|
"core",
|
|
"index.d.ts",
|
|
"index.js",
|
|
"adapters.d.ts"
|
|
],
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.15.4",
|
|
"@panva/hkdf": "^1.0.0",
|
|
"cookie": "^0.4.1",
|
|
"jose": "^4.1.2",
|
|
"oauth": "^0.9.15",
|
|
"openid-client": "^5.0.2",
|
|
"preact": "^10.5.14",
|
|
"preact-render-to-string": "^5.1.19",
|
|
"uuid": "^8.3.2"
|
|
},
|
|
"peerDependencies": {
|
|
"nodemailer": "^6.6.5",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"nodemailer": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^1.6.0",
|
|
"@babel/cli": "^7.15.7",
|
|
"@babel/core": "^7.15.5",
|
|
"@babel/plugin-proposal-optional-catch-binding": "^7.14.5",
|
|
"@babel/plugin-transform-runtime": "^7.15.0",
|
|
"@babel/preset-env": "^7.15.6",
|
|
"@babel/preset-react": "^7.14.5",
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@testing-library/react-hooks": "^7.0.2",
|
|
"@testing-library/user-event": "^13.2.1",
|
|
"@types/node": "^16.11.6",
|
|
"@types/nodemailer": "^6.4.4",
|
|
"@types/oauth": "^0.9.1",
|
|
"@types/react": "^17.0.27",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
"@typescript-eslint/parser": "^4.33.0",
|
|
"autoprefixer": "^10.3.7",
|
|
"babel-jest": "^27.3.0",
|
|
"babel-plugin-jsx-pragmatic": "^1.0.2",
|
|
"babel-preset-preact": "^2.0.0",
|
|
"conventional-changelog-conventionalcommits": "4.6.1",
|
|
"cssnano": "^5.0.8",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-config-standard-with-typescript": "^21.0.1",
|
|
"eslint-plugin-import": "^2.24.2",
|
|
"eslint-plugin-jest": "^25.2.2",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^5.1.0",
|
|
"fs-extra": "^10.0.0",
|
|
"husky": "^7.0.2",
|
|
"jest": "^27.3.0",
|
|
"jest-watch-typeahead": "^1.0.0",
|
|
"msw": "^0.35.0",
|
|
"next": "v11.1.3-canary.0",
|
|
"postcss-cli": "^9.0.1",
|
|
"postcss-nested": "^5.0.6",
|
|
"prettier": "^2.4.1",
|
|
"pretty-quick": "^3.1.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"typescript": "^4.4.3",
|
|
"whatwg-fetch": "^3.6.2"
|
|
},
|
|
"engines": {
|
|
"node": "^12.19.0 || ^14.15.0 || ^16.13.0"
|
|
},
|
|
"prettier": {
|
|
"semi": false
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"extends": ["standard-with-typescript", "prettier"],
|
|
"ignorePatterns": [
|
|
"node_modules",
|
|
"next-env.d.ts",
|
|
"types",
|
|
".next",
|
|
"dist",
|
|
"/core",
|
|
"/react.js"
|
|
],
|
|
"globals": {
|
|
"localStorage": "readonly",
|
|
"location": "readonly",
|
|
"fetch": "readonly"
|
|
},
|
|
"rules": {
|
|
"camelcase": "off",
|
|
"@typescript-eslint/naming-convention": "off",
|
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/restrict-template-expressions": "off"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["./**/*test.js"],
|
|
"env": {
|
|
"jest/globals": true
|
|
},
|
|
"extends": ["plugin:jest/recommended"],
|
|
"plugins": ["jest"]
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
"+([0-9])?(.{+([0-9]),x}).x",
|
|
"main",
|
|
{
|
|
"name": "beta",
|
|
"prerelease": true
|
|
},
|
|
{
|
|
"name": "next",
|
|
"prerelease": true
|
|
}
|
|
],
|
|
"plugins": [
|
|
"@semantic-release/commit-analyzer",
|
|
"@semantic-release/release-notes-generator",
|
|
"@semantic-release/npm",
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"releasedLabels": false,
|
|
"successComment": false
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"funding": [
|
|
{
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/balazsorban44"
|
|
},
|
|
{
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/nextauth"
|
|
}
|
|
]
|
|
}
|