@pothos/plugin-scope-auth
Version:
A Pothos plugin for adding scope based authorization checks to your GraphQL Schema
68 lines • 1.89 kB
JSON
{
"name": "@pothos/plugin-scope-auth",
"version": "4.1.7",
"description": "A Pothos plugin for adding scope based authorization checks to your GraphQL Schema",
"main": "./lib/index.js",
"types": "./dts/index.d.ts",
"module": "./esm/index.js",
"exports": {
"import": {
"default": "./esm/index.js"
},
"require": {
"types": "./dts/index.d.ts",
"default": "./lib/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/hayes/pothos.git",
"directory": "packages/plugin-scope-auth"
},
"author": "Michael Hayes",
"license": "ISC",
"keywords": [
"pothos",
"graphql",
"schema",
"typescript",
"auth",
"authorization",
"permission",
"permissions",
"plugin",
"scope"
],
"prisma": {
"seed": "node prisma/seed.mjs"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"peerDependencies": {
"@pothos/core": "*",
"graphql": "^16.10.0 || ^17.0.0"
},
"devDependencies": {
"@prisma/adapter-better-sqlite3": "^7.7.0",
"@prisma/client": "^7.7.0",
"graphql-tag": "^2.12.6",
"prisma": "^7.7.0",
"@pothos/core": "4.13.1",
"@pothos/plugin-prisma": "4.15.0",
"@pothos/plugin-relay": "4.7.1",
"@pothos/test-utils": "2.2.1"
},
"gitHead": "9dfe52f1975f41a111e01bf96a20033a914e2acc",
"scripts": {
"type": "tsc --project tsconfig.type.json",
"build": "pnpm build:clean && pnpm build:cjs && pnpm build:dts && pnpm build:esm",
"build:clean": "git clean -dfX esm lib",
"build:cjs": "swc src -d lib --config-file ../../.swcrc -C module.type=commonjs --strip-leading-paths",
"build:esm": "cp -r dts/* esm/ && swc src -d esm --config-file ../../.swcrc -C module.type=es6 --strip-leading-paths",
"build:dts": "tsc",
"generate": "prisma generate",
"test": "pnpm vitest --run"
}
}