{"name":"graphql-codegen-core","version":"0.16.0-alpha.ab1abd79","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.2","change-case":"3.1.0","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.ab1abd79","dist":{"shasum":"6e20e0518c58c8e68ccda7f19e29cd47d411dd92","integrity":"sha512-5IBpBwOtbMqqO3QgpBhsA5YSxCBo6zYDOEsONXlYLQGhWN4YP9igEoLGxwWwzgyf+Tn6eBzyJmubzHuZ68VD2w==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.16.0-alpha.ab1abd79.tgz","fileCount":99,"unpackedSize":94663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQiTLCRA9TVsSAnZWagAAN6sP/2Ji7N+DoeVDtUT+1a4Y\nmoNlr9k7SyXP7IAtsVQ2zOulpy1k4qVJf6tYn0NFAL6vHTBuHHAJPpf9A0v7\nMDkp4zL2Aj61IBhAlsTiDVMcpJZniBY0XwPkwux8TuNLtDdqjpTlAn8wpmJB\n6o63yuh73M88iJ8ZyqYe1kmPQJKTpNoIXsNdPIYcHFrDkoDAvn25cFxU+xxr\nkKRuw7A/jOdN02F5kDe5LoGRO9raR087DZoHW1RKZCri4NG8Kq9qoRdMvLSs\n3WQq/Jp4tfZlil2sim0s5onKaG2cGpSKrT+7+L4qG5yb8dj9R4+QQAwpLIX/\nLgzADwc4h5emcGvc/oHJHAOIELDJMweUUpYSmUNl0YOufyC7I8kf9dkzZMMS\nsj9le5aPUJ6eef1RtlwsoihRGLV5sja4YN4v6KzusbtfHi56nErBfR7XhpKq\nu8KSI29FraCZVuq5iRQ/JJodtlIbEnUCkGmna0c6h+HCmX3y3jP4DYuDsO01\n/nIL94mLQWB7V+izgHFLWbTfgfhJlGs56tpgqo9/R368zh+n1vf1XbAl6TFC\nIdME0P9ThrNtfb0TW4AnqyCcmpBfwWQ4ouiUh2ObLOFZiQdHCe14Bw4FVDxZ\njhfjsAt7g6dRJI2aF1S79ef76SRepUQgrnwD4nwPhcU2ZF0S04epO7LRCdwF\nnS56\r\n=4iIs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICTUXfdPxQGX0utNOQ8JZ70nMc0arOZGGcMafx24k+vqAiEAlrSE3GmAiq2B+vXsBWkyIW0Jr4kdX1R3bkV/u2psYr8="}],"size":22717,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.16.0-alpha.ab1abd79.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.ab1abd79_1547838667097_0.4424515238172433"},"_hasShrinkwrap":false,"publish_time":1547838667220,"_cnpm_publish_time":1547838667220,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}