{"name":"graphql-codegen-core","version":"0.15.0-alpha.16d780fc","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"]},"devDependencies":{"@types/chalk":"2.2.0"},"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.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.15.0-alpha.16d780fc","dist":{"shasum":"3e685fb6a862783f38b83c4fd84be39e21517b2a","integrity":"sha512-Qh662/N0Ip+j+q5Kd3bCj4pQJS0W6wUovQP4A/81Q2QtqufNi1gtV7whkFMv2QBnhHAMWN7fES/9bh18xSimfw==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.15.0-alpha.16d780fc.tgz","fileCount":99,"unpackedSize":93029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8DS6CRA9TVsSAnZWagAAUfgP/3oPIFMH7RF8FLWJHI0Z\n6q+QH52+wY7Iu7JUWUOUcg/KdlLeZEQkXAMEyyAWETm3axVi6u6N9l5t0Pya\nvpdlYdhqFYze7YfdSPrMJ2wJ7hFO6M/dEUh4/Esj7GtQxL6Xr7MvowSVzbei\nBhM1dDlztYnUf/XuWCBCXpWZ9BKr0Q7A9pPorryZRgYa3hBhxye8VbfrMsV4\nWeAJnNSVluvYlZ553jGIQ1EEDhF3GNHRKF43jABqB8t9J+UQNrkgUIu9RYr7\nSaQDlgYUG4jQR3wgc36k/xCmpGiV41E/6A4xlU7iL/Omml0nVlq2kOqLwo03\nrK0tAlMs/W31Np3COIp6Z+iXA6vzL/RUaZiMGEHMptsit20Pj7LFbMOqVqEd\n/3V2SZqnv6f74kZ94YBskUoublz1wk8RfYo77e9AfWfQvuZTd1j4+/IeUq3R\nLsv4FNFZwyS9/x2MgVd0G26D626NuCHsltBiVMVYMEhLuKzQOpSdVSi9XKhP\n+FUitIEriSwpJLn4/jmqr0/xqYqnqe/2GhFtEHFvk7GO23GCQK/VrjGgTaVj\ncWzR3Y04Y0LWRx0FB9/30EGfDzBoCW8CH/Yo5LfSsfrLBgdCZO4BgzK1/cFU\nsQ1ElNS3AGaTouxDL2j2bhn1KcSUUP28pzVJqe8RMGIfwyOvDAzQgokG+UI9\n3Yz4\r\n=I6To\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+oytEDhu4ISTIWXihXzFCoOXfMvABqRw7hIvVvGU2mAIgWzK+gzcphgfo4MGalgKwptKfxMsr0fcMRIeKvKsP0UI="}],"size":22323,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.15.0-alpha.16d780fc.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.15.0-alpha.16d780fc_1542468793772_0.24653430479761873"},"_hasShrinkwrap":false,"publish_time":1542468793967,"_cnpm_publish_time":1542468793967,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}