{"name":"graphql-codegen-core","version":"0.13.0-alpha.df4e458a","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.1","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.df4e458a","dist":{"shasum":"c241027c83cbf2c1f5604424fbb486dbee021d07","integrity":"sha512-SBpA5VV3geUKynmyJdwqLayXmuLoT4jGM8tPVUe9m/CRzrreMwS/hcAhP90w4vTHN1yrIq1x/kqakkAB6YrWnA==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.13.0-alpha.df4e458a.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\nwsFcBAEBCAAQBQJbxTyyCRA9TVsSAnZWagAAK/YQAJAQVnj6i/mYxlXKQDEO\nbGY5nKfAc12/PjvkQ58BFPwSG4I6N08aMzEy097vYSYxkt2eMMN2SuDfjbQ0\nec0Y46AidnyGsL3c+CVQT5at7IiT/U+YCP68Ldv5Mht8gWq6T7iVA7qMTKqb\nGujMawdt3eRV8GS9rgM4pKSMkP+LhqQIu0Pf2/wi5YwfVwnguoZRPbFtFkat\nLjJUuKE30RaNYphvuLoo4lhFlP1+G6CIK0z1YHscK/H62YE/dcVZsu7cgfCV\n3io2HdDCvzB5kGvjJlLdLvw+R3yNpj3uhgUm0XTOBDT4G8N+MV0jg1N3lFp8\nLSEW+hnFjo2PMeUGJeHqj6XdKXjxc9BR3Y2/j5LV96HvL+M6GqH92Mfk/UE3\nSREiGgt9BOu7HJ0NXuBWPeeYGOkB2TsTfSpLb6Kz+Vu+vC6JQF5gQ6v+QDj9\nU+MUGbCSRavtf3ACRD0AIiP1vsy/WGrbWnfvbVtOc5sWqLcLejn0RhL7lR+7\nA3Bkq0OYGZ/cvvXeqKG5btHi1KDqo5ITytbiVzdNfn8H4qO6CXjPEztr8pNp\nAjJVlKSfoMk95npALNL3nziTmB9unn8gb8KLGxHdD9sSPIWUQ8+LTlSBTBaU\nh1juser+bpvtZcIPFYMeo3f63+x/LAKaJrhWP7woAR8PwV6M/pYSv0rOmFL/\npv7z\r\n=+o9X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7n2QD7fH0HJpcdjNj7meInmbdWiHe8FjHxcK6Zwe+zAIgQnXJB/IaB1xIpherii4VoKgE6mYJZJ403ex3VSv0/mY="}],"size":20393,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.13.0-alpha.df4e458a.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.df4e458a_1539652785922_0.5369055767940349"},"_hasShrinkwrap":false,"publish_time":1539652786065,"_cnpm_publish_time":1539652786065,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}