{"name":"graphql-codegen-core","version":"0.17.0-alpha.4edfff92","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.1","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.17.0-alpha.4edfff92","dist":{"shasum":"98e39c5c135eabdb0435b610d82c543992383886","integrity":"sha512-EhOVr5x9bvHLhyaTk+Sv/EgYnPl1P/Cf1Bbg06oth+f4+vtov4YFPC2F0+JAUJRmcDRCCsaAR5gUnTLLRgYLKQ==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.17.0-alpha.4edfff92.tgz","fileCount":99,"unpackedSize":95622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSW/ICRA9TVsSAnZWagAANp4P/1X+LYHmlQFveauvAHKI\nb8G9mHo69n7IngtyqWKvPCnvh4ySz2i2HeG7HFVdhRKZlFcnffPMzXXGL/Z0\nmhfQ2K7HeTOoteZKe9WnvN8CQb8e+Yy2RBLnT1+OYQo1Zy2s392+wM5tWDNn\nPdYK4OoNa8IYlAKm7nU/11SVTik8fPlQZtnA6iVfGQ0HaMdIR3Bg7x9Myeoq\nfTKbCSfQfEBLG3NF4S5C5TgzoC+dFgk/iRngAnh9pL3H5ybDHPSvXyIWO/Bu\nBmC1rT3uNEKnDDv0w+lqqT+iHzxnD3RHNdO4xfPC5rBDf3A/bUudw1ectSPr\nZ3ag8ue59MPIigZTNy7X2PIgajF7z7OSa6C731NQ2LtIjF5Alueiso0SeoEy\nx+aGKyIBR6GRykaHBjmJ3Yaj5CKXCRzxZ4ssFqV1prJ9tfFi8dCvbxHL1GK5\nplQ3+4Cis6K9x/iELJQhshANPD3IXE07RxdfrQzwGgaUnKX81a3KTtTDs2rs\nr3vLrDhZkFkMiMfpxXUQScx9eIeL4vyL7mtYf2cnBsYUow9BKlS6mgTO0Rie\nRk/frG9BdQjZsEp7mqOSBtCzaXHRDPlP4BgeDwtMJA0vRd9yJtaMd+hTscUU\nd4Qy+6f0E1t1B7RI3QY4TIk8dMH3KjEZTIv9tlgAPTlyxRpLqpNuzAhooTGW\nk7ol\r\n=5bmq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGSHIX+4EY6TYTI35K8bjUM36RRoPkJQK+I1RSGQtmzAIgK81gzojDOVQISnqF0+YyPFcmaQXL5bWs+ZL/U++7CR0="}],"size":22948,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.17.0-alpha.4edfff92.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.17.0-alpha.4edfff92_1548316615319_0.7475009129714723"},"_hasShrinkwrap":false,"publish_time":1548316615551,"_cnpm_publish_time":1548316615551,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}