{"name":"graphql-codegen-core","version":"0.16.0-alpha.5a024c86","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":{"chalk":"2.4.1","change-case":"3.0.2","common-tags":"1.8.0","graphql-tag":"2.10.0","graphql-tools":"4.0.3","ts-log":"2.1.4","winston":"3.1.0"},"peerDependencies":{"graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.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.16.0-alpha.5a024c86","dist":{"shasum":"ff43f94be295ef7d0f2d0abc1f3e3612cc4c0125","integrity":"sha512-qbT5mWwrDuqQyM2+/XHrDaCvzXVjoXysogg+LghhtnBIA6ewoIls7j3pHicRpMkYw76e1eaPK2twZ/nskwcHEQ==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.16.0-alpha.5a024c86.tgz","fileCount":99,"unpackedSize":94653,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGggQCRA9TVsSAnZWagAAsEMQAImhELxpDg42WrhLguis\nT4YSzPyXnzAIrUGG4qmGo86WhztN+AnxBgLHnJd1tFtG2GlR2dAg9r4JAzQw\nwTQZMkKCuho6dLdCPSneXKLePiKcsprS6Aat8emwRSDMWE89Nol/IxZS0wJQ\nbiw35SGPKfSoDlFw7CSx2s9UeahSPYPYWcmZC+Df6haKiNXRDr9bMQJ7kRTq\nqd1SFGHgkS3EnRxJD9ilUi3+K2FjRQ174NOjI4spPacv44E57yvMW0qJmB/M\n33xwQiwZMpZ7/Wi8JcPSv10GO7zid5FNASxQX5lPCZscg60BYtabIA7uirwE\nVpBY+0lchPKInjIuhvHfseq3N/Uj7MeO2PH7O6H2UmyZs6VplMHoSG4xvGhb\nXmEDn5R4LElYba57WK+22+mM4vPwoV8JVQ0QKoOCyAU57JXvHLlnq/Z+q6fF\nmETq+nanSivISEIy3wW5CdXr05hHw0JHfhQGUdzpcxoOlTCaRcMkCVsa6RdB\nhEetuJMVUHC+KDI7H2FpJ80Ap6T+p8WyLZXf5a6VIHvwZfjgEVbbtt3WsDFt\n6wjijcPRr/03O1mxRnu2AfoYAyVxSUENjnYmsrzlB8Tbmhe2JljT5NBg+9st\nK2u8/ox/PDRPvVHdWgIpOXEy7/Jf56N0tsZpqcumq+JbX9sQu9ASpUGK/QqX\n5j2q\r\n=fd7M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz9mXWp7loE6XJgtZT+yMLN7u5gf8Fqgkkwcx66ivuvAIhAKNTbwY7noBW1R8aYV7fYHAox5Apv+yds0I/9NCRc2pJ"}],"size":22709,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.16.0-alpha.5a024c86.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.16.0-alpha.5a024c86_1545209871408_0.636419458236744"},"_hasShrinkwrap":false,"publish_time":1545209871540,"_cnpm_publish_time":1545209871540,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}