mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
204 lines
5.9 KiB
JSON
204 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>",
|
|
"main": "index.js",
|
|
"types": "./index.d.ts",
|
|
"keywords": [
|
|
"react",
|
|
"nodejs",
|
|
"oauth",
|
|
"jwt",
|
|
"oauth2",
|
|
"authentication",
|
|
"nextjs",
|
|
"csrf",
|
|
"oidc",
|
|
"nextauth"
|
|
],
|
|
"exports": {
|
|
".": "./dist/server/index.js",
|
|
"./jwt": "./dist/lib/jwt.js",
|
|
"./adapters": "./dist/adapters/index.js",
|
|
"./client": "./dist/client/index.js",
|
|
"./providers": "./dist/providers/index.js",
|
|
"./providers/*": "./dist/providers/*.js",
|
|
"./errors": "./dist/lib/errors.js"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:js && npm run build:css",
|
|
"build:js": "node ./config/build.js && babel --config-file ./config/babel.config.json src --out-dir dist",
|
|
"build:css": "postcss --config config/postcss.config.js src/**/*.css --base src --dir dist && node config/wrap-css.js",
|
|
"dev:setup": "npm run build:css && cd app && npm i",
|
|
"dev": "cd app && npm run dev",
|
|
"watch": "npm run watch:js | npm run watch:css",
|
|
"watch:js": "babel --config-file ./config/babel.config.json --watch src --out-dir dist",
|
|
"watch:css": "postcss --config config/postcss.config.js --watch src/**/*.css --base src --dir dist",
|
|
"test:app:start": "docker-compose -f test/docker/app.yml up -d",
|
|
"test:app:rebuild": "npm run build && docker-compose -f test/docker/app.yml up -d --build",
|
|
"test:app:stop": "docker-compose -f test/docker/app.yml down",
|
|
"test": "npm run test:app:rebuild && npm run test:integration && npm run test:app:stop && npm run test:types",
|
|
"test:db": "npm run test:db:mysql && npm run test:db:postgres && npm run test:db:mongodb && npm run test:db:mssql",
|
|
"test:db:mysql": "node test/mysql.js",
|
|
"test:db:postgres": "node test/postgres.js",
|
|
"test:db:mongodb": "node test/mongodb.js",
|
|
"test:db:mssql": "node test/mssql.js",
|
|
"test:integration": "mocha test/integration",
|
|
"test:types": "dtslint types",
|
|
"db:start": "docker-compose -f test/docker/databases.yml up -d",
|
|
"db:stop": "docker-compose -f test/docker/databases.yml down",
|
|
"prepublishOnly": "npm run build",
|
|
"publish:beta": "npm publish --tag beta",
|
|
"publish:canary": "npm publish --tag canary",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"index.js",
|
|
"index.d.ts",
|
|
"providers.js",
|
|
"providers.d.ts",
|
|
"adapters.js",
|
|
"adapters.d.ts",
|
|
"client.js",
|
|
"client.d.ts",
|
|
"errors.js",
|
|
"errors.d.ts",
|
|
"jwt.js",
|
|
"jwt.d.ts",
|
|
"internals"
|
|
],
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"crypto-js": "^4.0.0",
|
|
"futoin-hkdf": "^1.3.2",
|
|
"jose": "^1.27.2",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"nodemailer": "^6.4.16",
|
|
"oauth": "^0.9.15",
|
|
"pkce-challenge": "^2.1.0",
|
|
"preact": "^10.4.1",
|
|
"preact-render-to-string": "^5.1.14",
|
|
"querystring": "^0.2.0",
|
|
"require_optional": "^1.0.1",
|
|
"typeorm": "^0.2.30"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.13.1 || ^17",
|
|
"react-dom": "16.13.1 || ^17"
|
|
},
|
|
"peerOptionalDependencies": {
|
|
"mongodb": "^3.5.9",
|
|
"mysql": "^2.18.1",
|
|
"mssql": "^6.2.1",
|
|
"pg": "^8.2.1",
|
|
"@prisma/client": "^2.16.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.4",
|
|
"@babel/core": "^7.9.6",
|
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
"@babel/preset-env": "^7.9.6",
|
|
"@prisma/client": "^2.16.1",
|
|
"@semantic-release/commit-analyzer": "^8.0.1",
|
|
"@semantic-release/github": "^7.2.0",
|
|
"@semantic-release/npm": "7.0.8",
|
|
"@semantic-release/release-notes-generator": "^9.0.1",
|
|
"@types/react": "^17.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
|
"@typescript-eslint/parser": "^4.22.0",
|
|
"autoprefixer": "^9.7.6",
|
|
"babel-preset-preact": "^2.0.0",
|
|
"conventional-changelog-conventionalcommits": "4.4.0",
|
|
"cssnano": "^4.1.10",
|
|
"dotenv": "^8.2.0",
|
|
"dtslint": "^4.0.8",
|
|
"eslint": "^7.19.0",
|
|
"eslint-config-prettier": "^8.2.0",
|
|
"eslint-config-standard-with-typescript": "^19.0.1",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^4.3.1",
|
|
"eslint-plugin-standard": "^5.0.0",
|
|
"mocha": "^8.1.3",
|
|
"mongodb": "^3.5.9",
|
|
"mssql": "^6.2.1",
|
|
"mysql": "^2.18.1",
|
|
"next": "^10.0.5",
|
|
"pg": "^8.2.1",
|
|
"postcss-cli": "^7.1.1",
|
|
"postcss-nested": "^4.2.1",
|
|
"prettier": "^2.2.1",
|
|
"prisma": "^2.16.1",
|
|
"puppeteer": "^5.2.1",
|
|
"puppeteer-extra": "^3.1.15",
|
|
"puppeteer-extra-plugin-stealth": "^2.6.1",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"prettier": {
|
|
"semi": false
|
|
},
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"extends": [
|
|
"standard-with-typescript",
|
|
"prettier"
|
|
],
|
|
"ignorePatterns": [
|
|
"node_modules",
|
|
"test",
|
|
"next-env.d.ts",
|
|
"types",
|
|
"www",
|
|
".next",
|
|
"dist"
|
|
],
|
|
"globals": {
|
|
"localStorage": "readonly",
|
|
"location": "readonly",
|
|
"fetch": "readonly"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|