mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
Improves how well syncing client state is handled and how well caching is leveraged. Reduces network load, cpu load and memory footprint.
67 lines
2.1 KiB
JSON
67 lines
2.1 KiB
JSON
{
|
|
"name": "next-auth",
|
|
"version": "3.0.0-beta.6",
|
|
"description": "An authentication library for Next.js",
|
|
"repository": "https://github.com/iaincollins/next-auth.git",
|
|
"author": "Iain Collins <me@iaincollins.com>",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "npm run build:js && npm run build:css",
|
|
"build:js": "babel src --out-dir dist",
|
|
"build:css": "postcss src/**/*.css --base src --dir dist && node scripts/wrap-css.js",
|
|
"watch": "npm run watch:js | npm run watch:css",
|
|
"watch:js": "babel --watch src --out-dir dist",
|
|
"watch:css": "postcss --watch src/**/*.css --base src --dir dist",
|
|
"test": "npm run lint",
|
|
"test:db": "npm run test:db:mysql && npm run test:db:postgres && npm run test:db:mongodb",
|
|
"test:db:mysql": "node test/mysql.js",
|
|
"test:db:postgres": "node test/postgres.js",
|
|
"test:db:mongodb": "node test/mongodb.js",
|
|
"db:start": "docker-compose -f test/docker/docker-compose.yml up -d",
|
|
"db:stop": "docker-compose -f test/docker/docker-compose.yml down",
|
|
"prepublishOnly": "npm run build",
|
|
"publish:beta": "npm publish --tag beta",
|
|
"publish:canary": "npm publish --tag canary",
|
|
"lint": "standard",
|
|
"lint:fix": "standard --fix"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"index.js",
|
|
"providers.js",
|
|
"adapters.js",
|
|
"client.js",
|
|
"jwt.js"
|
|
],
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"crypto-js": "^4.0.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"jwt-decode": "^2.2.0",
|
|
"nodemailer": "^6.4.6",
|
|
"oauth": "^0.9.15",
|
|
"preact": "^10.4.1",
|
|
"preact-render-to-string": "^5.1.7",
|
|
"querystring": "^0.2.0",
|
|
"typeorm": "^0.2.24"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.4",
|
|
"@babel/core": "^7.9.6",
|
|
"@babel/preset-env": "^7.9.6",
|
|
"autoprefixer": "^9.7.6",
|
|
"babel-preset-preact": "^2.0.0",
|
|
"cssnano": "^4.1.10",
|
|
"mongodb": "^3.5.9",
|
|
"mysql": "^2.18.1",
|
|
"pg": "^8.2.1",
|
|
"postcss-cli": "^7.1.1",
|
|
"postcss-nested": "^4.2.1",
|
|
"standard": "^14.3.3"
|
|
}
|
|
}
|