{"name":"graphql-config-extension-prisma","version":"0.0.11","main":"dist/index.js","types":"dist/index.d.ts","files":["dist"],"license":"Apache-2.0","dependencies":{"graphql-config":"^2.0.1","prisma-yml":"1.0.50"},"devDependencies":{"@types/node":"9.4.6","graphql":"0.13.1","ts-node":"5.0.0","typescript":"2.7.2"},"scripts":{"test":"cd src/example && ts-node test.ts","prepare":"npm run build","build":"rm -rf dist && tsc -d"},"repository":{"type":"git","url":"git+https://github.com/graphcool/graphql-config-extension-prisma.git"},"gitHead":"04ee1a1e8307d10afd794e8d18f39a688dc1bdb0","description":"[![CircleCI](https://circleci.com/gh/graphcool/graphql-config-extension-prisma.svg?style=shield)](https://circleci.com/gh/graphcool/graphql-config-extension-prisma) [![npm version](https://badge.fury.io/js/graphql-config-extension-prisma.svg)](https://bad","bugs":{"url":"https://github.com/graphcool/graphql-config-extension-prisma/issues"},"homepage":"https://github.com/graphcool/graphql-config-extension-prisma#readme","_id":"graphql-config-extension-prisma@0.0.11","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-Mlj/VYshHbwDrVHgNyNAl2cBU7+Rh503S43UYXcBtR9Am2KNvmPPPccXEeP6yist0yY2WM0WTwL8JoIGrWeFOw==","shasum":"d194470cc7a18eae9dca3909c649714a1413f2c9","tarball":"http://registry-npm.ywwl.com/graphql-config-extension-prisma/download/graphql-config-extension-prisma-0.0.11.tgz","fileCount":11,"unpackedSize":22197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa42L0CRA9TVsSAnZWagAAOsUP/3AixTXGzCjc5Xh81EKH\nmzyQM2LwIRQc9CYZyT4jtDvRTT/5IOyowHuJTKnemE/SoVuY8HtM3hIW3YEb\nx+RfRlGR76hJmpXCkqXGsehcUDVG9BKmV4bDRVn/6BMBVhlLL7pPNFFxgpYe\nJbQ4aWYa4A7gOmzvJhxDFH2/SKuwYpNz59N4EAKA5zfiWbRmNy036BjOtJrc\nbQ2hMu+vRFWFWsNhxUgSRBrZ6nF2mkWKfNHE32o0CQnGrvfL/u9g3K850A4t\ngeMdpEu8evSYmSs2dhfgv/fXqxmmm3dhuM/GgF0C+xsUJeNWJ9+OUdDSu+Hi\njDmu0X4e521UpeCnIpvqBz8YtwmILQyUNI9AkgMH7i3U8QAWV2pcLVM1CqoP\nJFlahKVZs5KSoNW/VzgTRFvxpHJECFz8y6gg79TAfravcy5IAQJjmkninTVy\nDrh9duylsWtLq80zaBWyYQ+ma0hTIqKN/7oKWqiKIs1/5b39ZMlybDZ7CEjU\n94luxWCjJzJyIdtYLlFrD5rqYVOVwusqo+3SzOOrxBNzSfP2g3mTrTx/U/mT\nwalx6r7oZ+SS33QLWA2tI6yW51FQsk2F0cc1Xz7QRHiW6fqanD4v6cNkGDn9\nqn2hIDfbFtd9BbLCCgWvOmeo+/U4BffqQ1CSe0eBFpe5fZUywX/CvplteY0c\njXeX\r\n=w5uI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGouXU9cVnmgvivMn6gbTjJdABuNGbmWHkK7pd/iFWwUAiEA5h4j95XSc09WjpU+CsUKBQXilz9dwZIAQIMLLwW1dpk="}],"size":5249,"noattachment":false,"key":"/graphql-config-extension-prisma/-/graphql-config-extension-prisma-0.0.11.tgz"},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-config-extension-prisma_0.0.11_1524851443878_0.4863749709611358"},"_hasShrinkwrap":false,"readme":"# graphql-config-extension-prisma\n\n[![CircleCI](https://circleci.com/gh/prisma/graphql-config-extension-prisma.svg?style=shield)](https://circleci.com/gh/prisma/graphql-config-extension-prisma) [![npm version](https://badge.fury.io/js/graphql-config-extension-prisma.svg)](https://badge.fury.io/js/graphql-config-extension-prisma)\n\nInjects endpoints and headers into a GraphQL Config instance based on a given prisma.yml\n\n## Usage in `.graphqlconfig.yml`\n\n```yml\nprojects:\n  database:\n    extensions:\n      prisma: prisma.yml\n```\n\n## Usage in Node.js\n\n```ts\nimport { patchConfig } from 'graphql-config-extension-prisma'\nimport { getGraphQLConfig, GraphQLConfigData } from 'graphql-config'\n\nconst config: GraphQLConfigData = getGraphQLConfig().config\nconst patchedConfig: GraphQLConfigData = patchConfig(\n  config,\n  process.cwd(),\n)\n```\n\n## Current Usages\n\nThis is currently being used in the [graphql-playground-html](https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html) and [graphql-playgorund-electron](https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-electron).\n\n","publish_time":1524851443948,"_cnpm_publish_time":1524851443948,"dist-tags":{"latest":"0.3.0"}}