{"name":"graphql-codegen-core","version":"0.16.0-alpha.2c981797","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.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.16.0-alpha.2c981797","dist":{"shasum":"8ceb211708d40bf76a29617d22c9139980e0bf0d","integrity":"sha512-JPoO+VKpCXWb/E+hP5+PuHhiYZnGeT7Zp1EGnks/UPixh1Efy3mBqqeHdSab6Fht0pBNw9v4S/HhrY9jUPUOjQ==","tarball":"http://registry-npm.ywwl.com/graphql-codegen-core/download/graphql-codegen-core-0.16.0-alpha.2c981797.tgz","fileCount":99,"unpackedSize":94653,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOFG6CRA9TVsSAnZWagAAfiIQAIBzZ0AwUxSdjDuvdQmK\nsG7g7aI3qU0RF2lN/2wMyyql9KvH3ZfC986fJpiMVe7XH3qxJ3pw1cbFfXcu\n0M2wNgpJdaYSzornua9P0E/Aqmb3y+oT2M/s0dEvxsM4TsZ2zPC5dSXSabaf\nYHd9xIhGHzEQnybFWev44Ip27ay9kNU8wpiANea17lTSigwup0oA/tViVhLX\nB8YBh+2iw+hM8GLxAXPypsHtD3tC3mMm/nbcIdC4eYMj8UIEIU6S42S5TQCr\nsVvulDsNar9nyM6Wzg/wEypUPP/8kORnyz9gk71DFso1DNlGX9IRAQdztatD\ntoVCPyev0F2Nuqjfs6qP7vt8qkVlhWxXMceiiZ7L2gQaA4SOC+NEKWQucW2d\nPAP7G22z8ejH3x2/osrA8GkqosyQJ6uQDeZzgJI8M55HdblhJQOZ0eIxsNeL\nCOsAQyBeOEzvOJXwwrXd8PjpWHXwlvZTGGkRrzD57NzxX1y/D9W8oPkJDSO5\n01659M9eRkaLxQrmTj6MUyhcll3J2wfAbHTZDzuwr/9cgOor/7y8w9ZJjB8H\nyuRys78+mzAB2Tb+MW88P85Kyx0wIB04KhV3t5SHN91jxT51uVqt2icCz2o7\nuslYlb/xraImJdUOOA/pDOQdv19xA2CtLY6PS0G5bNvQ3tbwpdwbrBJJd4l8\nvewG\r\n=9saA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICKrlDM5LCiED91kYqFnA5mEuuSIJ0biBPxRnfkl2Hm8AiEAkRH2nAJNROUPwu9ajOt6dqAsKtI3DwupLBm6gmLXhVQ="}],"size":22707,"noattachment":false,"key":"/graphql-codegen-core/-/graphql-codegen-core-0.16.0-alpha.2c981797.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.16.0-alpha.2c981797_1547194810032_0.3978179021356332"},"_hasShrinkwrap":false,"publish_time":1547194810212,"_cnpm_publish_time":1547194810212,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}