{"name":"graphql-codegen-core","version":"0.13.0-alpha.15be85ed","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.10.0","graphql-tools":"4.0.2","ts-log":"2.1.3","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.13.0-alpha.15be85ed","dist":{"shasum":"946300c006e6345c6b54d6a28b7228d06ce23fea","integrity":"sha512-/rR2ZfO90W9LY8BDvjAfzEKLU/6xvOX9WW5bFxie9x13Xp5XUE7QhU1JgcSzvg2B7CUZT6LZrdliKWaMfo8wAQ==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.13.0-alpha.15be85ed.tgz","fileCount":89,"unpackedSize":85747,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzyP9CRA9TVsSAnZWagAAYi4P/iGiwSg48ex67I5X/jlR\nfSJ3lFoNb+cydn49UCR3NVEXmFQ3NjRMvPYFiZ5FPS5M3NpcpGmVbbrGDBxI\nyM+m5EXIQqKBo7X4PTQyMgQ6i1yKKlGRO9Qnz22tgENLJNwE4ntrP43CiCKb\nugogK2FvuN5MxS7Ja+gtMhKqJhcie2cBpOfQjiXedGJbmPKf2xy+x1ATlQ2/\nfi6i3GhO5FvBJ1Jk68O1KFQNZv3t47dB4VP8wo4RdRofHFF9Q5ys4d+pDxPm\npDvemk0Y1HAz0a+VyGsviX2DD5GZrBf584tq01HgtY5miCdt9ekyrm1aTZ1Y\nRxgBQHSh0ywWX9LT5rcwJmqsM59QrB3wqcb7tcpdysQ9aOy9lJGcsA0+WxFY\nPldhCbpmdz9sC8xJt5r2FD8veom5nCbj7Q54NytYUw168bDKJpFgU1muPkWG\nLnjOTjWdaOfSDtm2omRS+0xMlFFBvBVwnR0PPF+Zm+GNOxEHERNz/8TDDDge\n7GtjKz41glbkhikYWcVKbP6WvtabSHFXdjACB65L8mSE+PlMfiMCabf7SgxB\nhrbpqzc1v5QLuFEeaGFI92Fx4wF88VlfdC3cXc+z9np/q6G2iPzVbtHPrjbb\nkZAQp3KVcRGt/4BgNA5mq+gy0/QI0FRRM3yCU1VgW1ykH9cJ7YmIMQqqpcYb\nAKoL\r\n=HMil\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBGZY9hohJsTR1G8Fg8sW2XsiaDnIt2iaZaTdwnj/rWgIhAKwourNMG4taiX0zRgGJjZNdxugidYA2gWgyozQxjuTX"}],"size":20396,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.13.0-alpha.15be85ed.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.13.0-alpha.15be85ed_1540301820552_0.5002523262501402"},"_hasShrinkwrap":false,"publish_time":1540301820665,"_cnpm_publish_time":1540301820665,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}