{"name":"graphql-code-generator","version":"0.13.0-alpha.c5ee0f70","license":"MIT","bin":{"gql-gen":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/dotansimha/graphql-codegen.git"},"scripts":{"clean":"rimraf ./dist","lint":"tslint src/**/*.ts","prebuild":"yarn clean && yarn lint","build":"tsc","prestart":"yarn build","start":"cd dist && node index.js","debug":"cd dist && node --inspect --debug-brk index.js","test":"jest --no-cache --verbose --runInBand"},"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"},"bugs":{"url":"https://github.com/dotansimha/graphql-codegen/issues"},"homepage":"https://github.com/dotansimha/graphql-codegen#readme","jest":{"verbose":true,"collectCoverage":true,"collectCoverageFrom":["src/**/*.ts"],"coverageDirectory":"./tests/coverage","coveragePathIgnorePatterns":["/node_modules/",".*?handlebars-helpers.*?","src/index.ts","src/types.ts"],"moduleFileExtensions":["ts","tsx","js"],"transform":{"^.+\\.(ts|tsx)$":"<rootDir>/tests/jest.typescript.js"},"testRegex":"tests/.*\\.spec.ts$","testEnvironment":"node"},"peerDependencies":{"graphql":"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0"},"dependencies":{"@graphql-modules/epoxy":"0.1.8","@types/babylon":"6.16.3","@types/is-glob":"4.0.0","@types/prettier":"1.13.2","@types/valid-url":"1.0.2","babel-types":"7.0.0-beta.3","babylon":"7.0.0-beta.47","commander":"2.19.0","fb-watchman":"2.0.0","glob":"7.1.3","graphql-codegen-compiler":"0.13.0-alpha.c5ee0f70","graphql-codegen-core":"0.13.0-alpha.c5ee0f70","graphql-import":"0.7.1","is-glob":"4.0.0","is-valid-path":"0.1.1","mkdirp":"0.5.1","pify":"4.0.0","prettier":"1.14.3","request":"2.88.0","valid-url":"1.0.9"},"devDependencies":{"@types/fb-watchman":"2.0.0","@types/pify":"3.0.2","graphql-codegen-typescript-template":"0.13.0-alpha.c5ee0f70","graphql-codegen-typescript-template-multiple":"0.9.4"},"main":"./dist/index.js","typings":"./dist/index.d.ts","typescript":{"definition":"./dist/index.d.ts"},"readmeFilename":"README.md","readme":"# `graphql-codegen-cli`\n\n[Refer to full documentation, examples and more here](https://github.com/dotansimha/graphql-code-generator/blob/master/README.md)\n\nThis package is the front-facing package of the code generator.\n\nIt parses the CLI commands into a `GeneratorConfig` and `Settings` object, and also in charge of reading and writing files from the filesystem, and execute Introspection request to remote GraphQL endpoints.\n\nFor a full CLI documentation, please refer to the main `README` file of the package.\n\n## `gql-gen.json`\n\n`gql-gen.json` is a local config file, provides a custom config when using custom templates.\n\nThis is an example for a valid file:\n\n```json\n{\n  \"flattenTypes\": true,\n  \"primitives\": {\n    \"String\": \"string\",\n    \"Int\": \"number\",\n    \"Float\": \"number\",\n    \"Boolean\": \"boolean\",\n    \"ID\": \"string\"\n  },\n  \"customHelpers\": {\n    \"myHelper\": \"./my-helper.js\"\n  }\n}\n```\n\nYou can override the config for `flattenTypes` and `primitives` (refer to `graphql-codegen-compiler` package README for more info).\n\nYou can also specify JavaScript files for `customHelpers` when generating custom templates (the custom files should export a `Function` as default).\n\n### Generator Specific Config\n\nYou can also pass configuration object to the output generator, by adding `generatorConfig` to the `gql-gen.json` file:\n\n```json\n{\n  \"generatorConfig\": {\n    \"myConfig\": \"my value\"\n  },\n  \"flattenTypes\": true,\n  \"primitives\": {\n    \"String\": \"string\",\n    \"Int\": \"number\",\n    \"Float\": \"number\",\n    \"Boolean\": \"boolean\",\n    \"ID\": \"string\"\n  }\n}\n```\n","description":"[Refer to full documentation, examples and more here](https://github.com/dotansimha/graphql-code-generator/blob/master/README.md)","_id":"graphql-code-generator@0.13.0-alpha.c5ee0f70","dist":{"shasum":"2c7f58df7ca3b2470131148a927d66ec1bc24e2f","integrity":"sha512-86wQQlceIYQ4mTBg6pm/0xWdvjsav2ChGN/GQS4fLQIrSqMzPnKktHTJwubC/87p0mUoY9Ufddy0IE3CWN6YiQ==","tarball":"http://registry-npm.ywwl.com/graphql-code-generator/download/graphql-code-generator-0.13.0-alpha.c5ee0f70.tgz","fileCount":65,"unpackedSize":106289,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxZl6CRA9TVsSAnZWagAAnXcP/3DXgp5MTFmUMTZBI5dQ\nrG7jsR+er27K/JjMdKZb0/qq9ua5ZQZ2ej9I8Dn4BAwQhKyQ4S7ngxtjuWTT\nuFx5dX31/OdWIG/HjHZ8jOE3rx4BQ65V2c4Jq2ZM94Ez88Nrg9aoIROy/3S+\nV6TkdGWsOe9+C/jwSKm9ArHM/hPeej6KXd18GmsXnReEWB5jTS4YmzGdtuqb\n785LS8SI6ScbseRY9F6A4bIayudGZ/mM3fYxkWa5xgGaTHykJZGyeZvZYCo5\ni4nVjuVQpl2Fvrv6FpII6XMLXNq6XAwmvvpgk+lpVs37eX3cPAuifxg+58R3\nJRpzO4pCI8q7TRubmJyh9bvzMF+FF2f1O4DcO5QXbsLpbBML3C9ssondbttc\nLVLxwO+Yp9cNUMkpdmyoJ+iGrH/QifjiMlNVsic6I56MXQuA3XZ9k8dhG6oh\nEoTDY0b8Rl/MKN6W7cyb0VTvcStwBsY3DKz36OL4bOFb/biWH6QMv3XXKO2P\nxuTB9fPTtDno31kbttBjptma5tMjHWBeFENM8bse6cLybFxMmeCJK6BEbGxu\nYFnYy5mP+4YUpex4FkecAnoOewmjK0k9yeXep9n8LYASnOIznWSXmW4B+xQ1\nUsmlZdeVJBJla8VdCCb/wI14H1vE6v+JEW7rtRKuxIohcJOZOB7wYsePOqaX\nNrlG\r\n=7+LN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMczAE0MPQjQ7Ehc08JJxhiCl94Bwr0yEdafkSVStHSAiAO5lO7hOvA2PD2trWfsBIz1iYj85Btni4LRZ1UDL+JeQ=="}],"size":27113,"noattachment":false,"key":"/graphql-code-generator/-/graphql-code-generator-0.13.0-alpha.c5ee0f70.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-code-generator_0.13.0-alpha.c5ee0f70_1539676537760_0.6812131545739277"},"_hasShrinkwrap":false,"publish_time":1539676537947,"_cnpm_publish_time":1539676537947,"dist-tags":{"canary":"0.19.0-alpha.80ec87c7","latest":"0.18.2"}}