mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
* chore(deps): upgrade Prisma * fix: ignore `id` when not needed * test: ensure MongoDB/Prisma integration * test: remove table mappers * docs(adapters): mention MongoDB in the Prisma adapter * docs: plural * fix: `@ts-ignore` * docs: typo, consistency
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "@next-auth/prisma-adapter",
|
|
"version": "1.0.1",
|
|
"description": "Prisma adapter for next-auth.",
|
|
"homepage": "https://next-auth.js.org",
|
|
"repository": "https://github.com/nextauthjs/adapters",
|
|
"bugs": {
|
|
"url": "https://github.com/nextauthjs/next-auth/issues"
|
|
},
|
|
"author": "William Luke",
|
|
"main": "dist/index.js",
|
|
"license": "ISC",
|
|
"keywords": ["next-auth", "next.js", "oauth", "prisma"],
|
|
"private": false,
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf ./prisma/migrations && rm ./prisma/dev.db*",
|
|
"init:default": "prisma migrate dev --name init --skip-seed",
|
|
"init:custom": "prisma migrate dev --name init-custom --schema ./prisma/custom.prisma",
|
|
"test:default": "yarn init:default && jest",
|
|
"test:custom": "yarn init:custom && CUSTOM_MODEL=1 jest",
|
|
"test:mongodb": "./tests/mongodb.test.sh",
|
|
"test": "yarn test:default && yarn test:custom && yarn test:mongodb",
|
|
"build": "prisma generate && tsc",
|
|
"studio": "prisma studio"
|
|
},
|
|
"files": ["README.md", "dist"],
|
|
"peerDependencies": {
|
|
"@prisma/client": ">=2.26.0 || >=3",
|
|
"next-auth": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@prisma/client": "^3.10.0",
|
|
"prisma": "^3.10.0"
|
|
},
|
|
"jest": {
|
|
"preset": "adapter-test/jest"
|
|
}
|
|
}
|