{"name":"graphql-config-extension-prisma","version":"0.2.5","main":"dist/index.js","types":"dist/index.d.ts","license":"Apache-2.0","dependencies":{"graphql-config":"2.2.1","prisma-yml":"1.20.0-beta.18"},"devDependencies":{"@types/graphql":"^14.0.3","@types/jest":"^23.3.9","@types/node":"10.12.1","graphql":"^14.0.2","jest":"^23.6.0","ts-jest":"^23.10.4","ts-node":"7.0.1","typescript":"3.1.4"},"scripts":{"test":"jest","sync-snapshot":"jest --updateSnapshot","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":"76b553977fe3d80cbf1db4e6c94872e36a464eac","description":"[![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.fur","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.2.5","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-7Qh3TzZS3hwZpJbTNfTHXBM6UbzV7DMik9Mc95Rz76yTAs7Wr83xBFsH4Ap1NWlqBgANfO3cLLI4YomDJmO5SA==","shasum":"f67db5b6f882ac76096fb2e68a18ec81c7d51fd2","tarball":"http://registry-npm.ywwl.com/graphql-config-extension-prisma/download/graphql-config-extension-prisma-0.2.5.tgz","fileCount":11,"unpackedSize":31731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2bFbCRA9TVsSAnZWagAAj00P/RKN9OAT61uiRDuFhoIB\nqQc7BOMj1ykjswgybs3xxz+vekRBJCYLI7d1KsCG4sKt2OBDp4rInrLoMnsw\n0L5CjzFSNNmYAwKxSrxsOy/7xSR+UBIeLGNAFN2cEcylx+1aayt1Ti+QOHTp\nFNkRTZUMynu4smPwFs4j88lPFYbs9h++kSQwCTYFAdCaewwLI5M+rWRhwKDF\newsBs4Q0Oqh3h6yBKtxPPg9T/qunf2uXAHZ26W+a9QHrd5MbvI54iag4laNU\nDPkeWqoifyqKkdWcovHVzXSgZQ6F41+TknFHLRb7ou/8GegFtOO4ckdDc3by\nsp/FjAkVzz5ovqELPCjU2gjdvN+oLl8g96FqxT6NZzSMaE+f69qnUvwyUy8d\nllPD+zx+i44riSEdeZcgU6xA+afewuxgFSJMdcalClKBDZZaB5vTcQFEhSAs\nhSJwMWwklsEMc/cyI/8Yf4dH2yPNZVnh3y7MyRMOQHSoglxGKFaSk+GCrrC8\nAqKWpiVHcqrgkzk8qtfZUoW//vcmFtIqKGCvJX3CeqDHSoJ8NacYU+epFYCX\nUw6tUB0LAov7RNgCHxI8SlpiDqd/bVeL0aQ8W74eYusaOOi57CChME87bL/M\nJYUSPCRgilX4DlQcUhTTctGoHs01ggULj1I7rn3roZsnWjh3kmKfzLn7z3C7\nSXNY\r\n=A6K2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9tyYhzogKiDp4oHihBa6wUPyOjdI5mFLGaM3efiUbqgIhAMJFFoQ3zUJCdlaZnM4Ss4EUbTwD3BvGDdSGjg6CawNO"}],"size":6887,"noattachment":false,"key":"/graphql-config-extension-prisma/-/graphql-config-extension-prisma-0.2.5.tgz"},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-config-extension-prisma_0.2.5_1540993371060_0.12166600691795915"},"_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":1540993371214,"_cnpm_publish_time":1540993371214,"dist-tags":{"latest":"0.3.0"}}