@jcm/nexus-plugin-field-authentication
Version:
Adds a new field config "authentication" that should be used to determine if the field should be resolved or not
50 lines (49 loc) • 1.42 kB
JSON
{
"name": "@jcm/nexus-plugin-field-authentication",
"version": "0.2.0",
"description": "Adds a new field config \"authentication\" that should be used to determine if the field should be resolved or not",
"keywords": [
"nexus",
"plugin",
"nexus-plugin",
"graphql",
"authorization"
],
"homepage": "https://github.com/JCMais/nexus-plugins/blob/plugins/field-authentication",
"license": "MIT",
"author": "Jonathan Cardoso <me@jonathancardoso.com>",
"main": "dist",
"module": "dist-esm",
"types": "dist/index.d.ts",
"files": [
"dist",
"dist-esm",
"src",
"LICENSE.md",
"README.md",
"yarn.lock"
],
"scripts": {
"build:dist": "yarn -s clean:dist && tsc -p tsconfig.cjs.json --pretty && tsc -p tsconfig.esm.json --pretty",
"clean:dist": "rimraf ./dist ./dist-esm",
"lint": "eslint \"{src,tests}/**/*.ts\" -f eslint-formatter-friendly",
"pre-commit": "tsc -p tsconfig.esm.json --pretty",
"prepare": "echo \"do nothing\"",
"prepublishOnly": "yarn build:dist",
"test": "jest",
"test:coverage": "jest --coverage",
"test:coverage:watch": "jest --coverage --watch",
"test:watch": "jest --watch"
},
"peerDependencies": {
"graphql": "^15",
"nexus": "^1.0.0"
},
"engines": {
"node": ">= 12"
},
"publishConfig": {
"access": "public"
},
"gitHead": "11774bfab0057df6084237576a32aa6f31aa5711"
}