{"name":"graphql-codegen-core","version":"0.15.0-alpha.8695bf70","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.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.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.15.0-alpha.8695bf70","dist":{"shasum":"2168cb472eed7d1b3d8338720b3bb1307a43a3c4","integrity":"sha512-bi3KdjeTYVkJdwAQ4qhycWsGLs3f35Uh3h5Bu77IptYM/RIChtbU1DXSXTeiZWf6PBWykr54TjbWBSgX8JcWYw==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.15.0-alpha.8695bf70.tgz","fileCount":99,"unpackedSize":93253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEWfqCRA9TVsSAnZWagAAk3IP/ROeYRHSqAyl8orOKeBI\nHw8NcRKNnSM4D2YmGup/Tt1SWC0N50k2xVM3ObTb7s/01dQeO9VQoK8SPlu5\nnJjaWnK3qQlPZk5SraeTiSxZzsFOj8vwX1z2bj/IUUd22GjCnFMg5MWrqPq4\nwy8slGWXHaOLMAJj372hB3F0SgEe4TJ9QWkEeJhBZ84uvad3L1RxilVgFObJ\nw8t+g6s8iLedJVaSL6s19a0Zn/CvQS3f/hB1EKCsbff3i+1g77WoQUyOwI8H\nDHkQ7JkDnayrSdAn24Ytt5SfwZ11Og/iQHmTZ0BJ/v0YEDOY9K9cVja8xvP8\nO4EjfwiV1c4WlZ1QCMe5p7K0oTbTKAntJXzGNNkvZ33pWvqwWC13vBTIpHYf\nouYORNjA9yrQA6EBTHw73SR+xGsQPWbZM3eQMj5YBYnVGG7auy4GsdllWaFi\nf/WocKtIBWOioHq0d+WIS/E5KW+oB8iV0BGjxgZCjFifla5pkwnSiTFo59/O\n0fx/N6jzn6VMx12LEFjScVYEIeZzFioF/YCO0EDy+CcqwUDlvpdEv2Aj7J6S\n9MyK7zu+N9YX75xzpDbXcTeOOn3G6mHwlxQhy+gcOwe7ZOfAI31AXsh5ztKl\nef3QBeRtQR8BoGU7WITd0zOIA0NIn6U+pjWjorKWD5OBLzRTeUH311UVWAwY\nlSTQ\r\n=5K+S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD147vox6vOJ4dQCa/dOdHply5xosoBFajveXoKJfzshgIgb0ETVRRbqA7r8EWDE8J9BOLeVWu+ygdvyhifG525DIc="}],"size":22387,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.15.0-alpha.8695bf70.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.8695bf70_1544644585353_0.9672917144564361"},"_hasShrinkwrap":false,"publish_time":1544644585602,"_cnpm_publish_time":1544644585602,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}