{"name":"graphql-codegen-core","version":"0.9.0-alpha.7a97f4ac","description":"GraphQL types and code generator based on schema","main":"dist/index.js","scripts":{"clean":"rimraf ./dist","lint":"tslint src/**/*.ts","prebuild":"yarn clean && yarn lint","build":"tsc","prestart":"yarn build","start":"cd dist && node gql-gen.js","debug":"cd dist && node --inspect --debug-brk gql-gen.js","test":"jest --no-cache --verbose --runInBand"},"repository":{"type":"git","url":"git+https://github.com/dotansimha/graphql-codegen.git"},"keywords":["gql","generator","code","types","interfaces","graphql","codegen","apollo","node","typescript","ts","flow","types","d.ts","typings"],"author":{"name":"Dotan Simha","email":"dotansimha@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/dotansimha/graphql-codegen/issues"},"homepage":"https://github.com/dotansimha/graphql-codegen#readme","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$","moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"dependencies":{"graphql-tag":"2.9.1","graphql-tools":"3.0.0"},"peerDependencies":{"graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"readmeFilename":"README.md","readme":"# `graphql-codegen-core`\n\nThis package is in charge of converting `GraphQLSchema` and GraphQL client-side operations (query/mutation/subscription/fragment) into a template consumable JSON structure.\n\nThe entry points of this package are:\n\n* `schemaToTemplateContext` - transforms `GraphQLSchema` into [`SchemaTemplateContext`](./src/types.ts#L78-L94) object.\n* `transformDocument` - transforms GraphQL `DocumentNode` (object that can contains multiple GraphQL operations and fragments) to [`Document`](./src/types.ts#L195-L200).\n\nThe purpose of the transformation is to simplify the links and connections between the GraphQL entities, and to add template indicators (`has...`, `is...`, `uses...`) to the context.\n\n## Build process\n\nThe build process of this package is based on TypeScript and compiled with `typescript` compiler.\n\nTo build this package, start by installing the package dependencies:\n\n```\n   $ npm install\n   // Or, with Yarn\n   $ yarn\n```\n\nThen, you can use the existing NPM scripts to build the package:\n\n```\n    $ npm build\n    // Or, with Yarn\n    $ yarn build\n```\n","_id":"graphql-codegen-core@0.9.0-alpha.7a97f4ac","dist":{"shasum":"35a8cbbbc8893602d63f3c2be52bf93a810b7be8","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.9.0-alpha.7a97f4ac.tgz","fileCount":80,"unpackedSize":69604,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6D2pCRA9TVsSAnZWagAAzQoP+QDzG8NEY/z5qKcyKEMs\nqJ+Waug80fxLj48XApVs/tcfbqZDmfbDBwBrCXtlVO7uaT/NE10h7f4Ki9hY\nZqG2lShYKXvkOxOb5wWrPQUWE09CpcLPLHUa3gIEJDnA5auVpOxdjs2au35N\n9J7xvuOeNW4b8b/ae2lFO1iXLCXCs1cdIZ86olSWRhcfKL1ahGIgG/zgEMGc\nifNnii4z9NNVJKdl+nit+LQxngDfJmG42v9mXMILhWc9JCEEl6ysFakQG8I/\nuox+nMj7jEnsktasB/yBY+nMwyIpWxfvVb5wwSkVcjO5kHNmP90wD9nwXoRt\nJrPtpVq7cKCwb5ld1yhf9rbLujFNmUV4IhqGWq2oQ/B2+Uq1OZ8uWqSmWcYU\nSZ0vTT6z3pM2mkko/n4POhlCa3ewco8u6TE4UpvpgJKADdUxIMjcokquADNl\n9gKq3DGhzEzYA0ULs+FS0WzDQGKF5qxLPPWVG4mG6qHTwPMkFRLRk0CGRz4i\nlnJj7NLzCrprbqVEgxIy+bT+tPLSjl1KnCpOlXlAchPhURvrL9mbLMb2RTSM\nc8HGc8Won1hi+tVsQ/7yG5ns7/UN8b2WsMd7AVrqOq6aD+KzbTGFCtEw/4Pd\nRpoaMXupT5m6ZK8DjYcoX34syu3+r3v3B31QrW3z6BjKvNUBEwjE7xnHO2mc\nfNrK\r\n=pe0b\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-LS1VE7zNX3R6ruCiy9OK8Tw0cygQLWRZUPcYVaJqVsLr5CKlzLzN5L3o+/nDMyxUNIpgcrD42IpQjacJqRkuBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBEtuWbbU9S37nSgBcsiXJLYkz2N9nwH6BV2TrMRG6kgAiAO2mr+UrZhb5pkBaM3+6aBBZ71b9T6MDrngMpHEgnxqw=="}],"size":16453,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.9.0-alpha.7a97f4ac.tgz"},"maintainers":[{"name":"dotansimha","email":"dotansimha@gmail.com"}],"_npmUser":{"name":"dotansimha","email":"dotansimha@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-codegen-core_0.9.0-alpha.7a97f4ac_1525169576535_0.9263528057462762"},"_hasShrinkwrap":false,"publish_time":1525169576688,"_cnpm_publish_time":1525169576688,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}