mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
* feat: move adapters repo to new packages dir * fix: rm docusaurus build dir * fix: update .gitignore * fix: reorganise package directories * remove package lock files * fix: folder rename * remove package lock file * fix: jest config paths * update yarn.lock * ignore dynamodb local bin * fix: gitignore * fix: update adapter-test * change adapter-test package json * rename prisma adapter package name * fix paths * update gitignore * run tests with one concurrency * fix: merge conflicts * gitignore dist folders * fix: add jest.config.js to tsconfig ignore * fix: yarn.lock * fix: ignore pouch in turbo commands * ignore jest file * fix: test turbo test cmd * fix: turbo test cmd * test: disable mongodb-adapter temporarily * ignore all dev.db files * simplify gitignore * remove unused dependency * have tsconfig in its own package * remove unnecessary .gitignore files * move jest config to preset * add ts expect error comment * chore: update .gitignore * remove babelrc * don't depend on build for testing in turbo * fix: cleanup testing npm scripts * fix: remove jest-config roots * fix: add fauna jest preset * fix: rm dev.db from prisma mirgation * fix prisma * remove nohoist Co-authored-by: Balázs Orbán <info@balazsorban.com>
164 lines
4.4 KiB
JSON
164 lines
4.4 KiB
JSON
{
|
|
"name": "next-auth",
|
|
"version": "4.1.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>"
|
|
],
|
|
"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 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",
|
|
"test:ci": "yarn run test -- --ci",
|
|
"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.0.0-0",
|
|
"react-dom": "^17.0.2 || ^18.0.0-0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"nodemailer": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^1.6.0",
|
|
"@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.0.9",
|
|
"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__"
|
|
],
|
|
"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
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|