{"name":"graphql-codegen-core","version":"0.15.0-alpha.0cfe49ec","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.0cfe49ec","dist":{"shasum":"aba803836f3f15155219cf32bef64cf047d38819","integrity":"sha512-ykWD8JQcuYqIzNFB3V2ryfJSmwILxI5pja2nTWR6UcAYyMMjyDvRsjFOA0Btto3kA9Mdf0xiSTvl7NQi1djR0g==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.15.0-alpha.0cfe49ec.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\nwsFcBAEBCAAQBQJb70ZVCRA9TVsSAnZWagAARJkP/3GjOM1mbUmJG78NQroa\nwecweOa736G4nOT9K3JYZn3sJMqAr8FUOhTLn57fUWBGn8wd80Y19HVvIAPt\nTg0noI9NJfv1A3gclcCYUsE8L1/CXAxySTOhPYtlck3dzHNFtsraE8lx+Z1U\n52fbld4CzPc4MQohLoVhfYH4hXHsdTYB51ZBPJD7WUTszfjM47YdcpP07kyi\naJzmwbTeAr1WpycXv0cZM6dYS5tq7bUifT1amqGCa7786a++04P6ZYUlANmv\nz7dUrYNZT9TzOrKXAPKXZM/t597DsLPEbo2fjmv2puJlfRtc7Tj89UCVK1dH\n84JvXK4D3r8C7AJBcle34nV+9FItBTyG6iZn1VfNnwJ3UfPQRx7MzwopS7aC\n6S1XVzPfTn0YtJDS5WRig4A3ZhckBvrXKHUBOqCjNrheJ7bXQT36p7jiqMki\nUQm0/kfxqzuTApByauoXHnlNdHiXTPZg+sXTGm3klRoBr/aeAaON7kAMSatT\nwC2/BJhIPArLKe3lEkRAdsCzoW8sYhg1PurNj/L40RS5e3xip4bmzElnemkR\nh7BpkhqltqeMpV7lfdq3H2SbK7c3iSfePUjxnrfhqSgs+6YhwOVxPJnxNw1d\nbl53TvWI4LlO5oAxnznIHuX3RGAgnkoJqtkFAiEcPVWYsoKLpYuHKgpGuj3B\nMUt2\r\n=CbKe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk9sBZKsDHKHal3EzABBGlYnW1gqQNF4vwcU3UaR7uFQIhAJjhfWchrQcLHFhmqwp9y3wRWY36HIG0cJlck63B7DM1"}],"size":22349,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.15.0-alpha.0cfe49ec.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.0cfe49ec_1542407764567_0.9134372176619212"},"_hasShrinkwrap":false,"publish_time":1542407764712,"_cnpm_publish_time":1542407764712,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}