UNPKG

graphql-fields

Version:

Turns GraphQLResolveInfo into a map of the requested fields

41 lines (40 loc) 966 B
{ "name": "graphql-fields", "version": "2.0.3", "description": "Turns GraphQLResolveInfo into a map of the requested fields", "main": "build/index.js", "scripts": { "test": "mocha", "build": "babel index.js --out-dir build", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/robrichard/graphql-fields.git" }, "keywords": [ "graphql", "graphql-js", "graphqlresolveinfo", "fields", "schema", "ast" ], "files": [ "build/*" ], "author": "Rob Richard", "license": "MIT", "bugs": { "url": "https://github.com/robrichard/graphql-fields/issues" }, "homepage": "https://github.com/robrichard/graphql-fields#readme", "devDependencies": { "@babel/cli": "^7.1.2", "@babel/core": "^7.1.2", "@babel/plugin-transform-object-assign": "^7.0.0", "@babel/preset-env": "^7.1.0", "graphql": "^14.0.2", "mocha": "^5.2.0" } }