{"_id":"graphql-document-collector","_rev":"16-84205b65dfcaaab50f952dbed0a86109","name":"graphql-document-collector","description":"Load up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"graphql-document-collector","version":"0.1.0","description":"Load up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project","main":"lib","scripts":{"test":"mocha 'lib/**/__tests__/*.js'","compile":"tsc","prepublish":"npm run compile","pretest":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/rricard/graphql-document-collector.git"},"keywords":["graphql","document","project","collector"],"author":{"name":"Robin Ricard"},"license":"MIT","bugs":{"url":"https://github.com/rricard/graphql-document-collector/issues"},"homepage":"https://github.com/rricard/graphql-document-collector#readme","devDependencies":{"mocha":"^3.1.0","typescript":"^2.0.3"},"dependencies":{"@types/chai":"^3.4.34","@types/glob":"^5.0.30","@types/mocha":"^2.2.32","@types/node":"^6.0.41","chai":"^3.5.0","glob":"^7.1.0","graphql-tag":"^0.1.14","typed-graphql":"^1.0.2"},"gitHead":"eb86b41e68deb957dc394306a8525e09d624c9de","_id":"graphql-document-collector@0.1.0","_shasum":"e4383b72601bed646b5db5d750930ca4b67ba5ca","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"rricard","email":"ricard.robin@gmail.com"},"dist":{"shasum":"e4383b72601bed646b5db5d750930ca4b67ba5ca","tarball":"https://registry.npmjs.org/graphql-document-collector/-/graphql-document-collector-0.1.0.tgz","integrity":"sha512-j7f7Tib6GdA52tJvagZ2RG0hdnmy3zcqOmfCExZDTq9TCTufFofvshhXelTVJ+dNxYgIeNDnn2fiBOsaJWSGOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCquocBn7Gfidpye05MYOSA5S2QnUDo8PdYiW8+F7PESwIhANDfu1HNda1GXCCm5Kj/8yNkTTCU7yeSK5pLM32U1vWD"}]},"maintainers":[{"name":"rricard","email":"ricard.robin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/graphql-document-collector-0.1.0.tgz_1475453350730_0.8200759370811284"},"directories":{}},"0.1.1":{"name":"graphql-document-collector","version":"0.1.1","description":"Load up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project","main":"lib","bin":{"graphql-document-collector":"./bin/graphql-document-collector"},"scripts":{"test":"mocha 'lib/**/__tests__/*.js'","compile":"tsc","prepublish":"npm run compile","pretest":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/rricard/graphql-document-collector.git"},"keywords":["graphql","document","project","collector"],"author":{"name":"Robin Ricard"},"license":"MIT","bugs":{"url":"https://github.com/rricard/graphql-document-collector/issues"},"homepage":"https://github.com/rricard/graphql-document-collector#readme","devDependencies":{"mocha":"^3.1.0","typescript":"^2.0.3"},"dependencies":{"@types/chai":"^3.4.34","@types/glob":"^5.0.30","@types/mocha":"^2.2.32","@types/node":"^6.0.41","chai":"^3.5.0","glob":"^7.1.0","graphql-tag":"^0.1.14","typed-graphql":"^1.0.2"},"gitHead":"a69d22999ad4f09480b49c893c7daf2c14511b4d","_id":"graphql-document-collector@0.1.1","_shasum":"651e5a3d88771aa7892afed3370a450379b848a2","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"rricard","email":"ricard.robin@gmail.com"},"dist":{"shasum":"651e5a3d88771aa7892afed3370a450379b848a2","tarball":"https://registry.npmjs.org/graphql-document-collector/-/graphql-document-collector-0.1.1.tgz","integrity":"sha512-BgAef+V7/2OmRG2ftBzJZ8oPXSFMCy4TH0qYEq+L210pv81fk+UhyZTPpdnGxrO/yOyHGsQUr5rk9wqDLHWlAQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1/czpFGB1bVUiqM7vo6qIcfzNfqlVFrnxBYyoi89FJgIhAKVKnwZEL348pZvR83+q2vf5P7Q3hdJvZxg61pbf9yf/"}]},"maintainers":[{"name":"rricard","email":"ricard.robin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/graphql-document-collector-0.1.1.tgz_1481030451418_0.5918405412230641"},"directories":{}},"0.1.2":{"name":"graphql-document-collector","version":"0.1.2","description":"Load up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project","main":"lib","bin":{"graphql-document-collector":"./bin/graphql-document-collector"},"scripts":{"test":"mocha 'lib/**/__tests__/*.js'","compile":"tsc","prepublish":"npm run compile","pretest":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/rricard/graphql-document-collector.git"},"keywords":["graphql","document","project","collector"],"author":{"name":"Robin Ricard"},"license":"MIT","bugs":{"url":"https://github.com/rricard/graphql-document-collector/issues"},"homepage":"https://github.com/rricard/graphql-document-collector#readme","devDependencies":{"@types/chai":"^3.4.34","@types/glob":"^5.0.30","@types/node":"^6.0.41","@types/mocha":"^2.2.32","mocha":"^3.1.0","typescript":"^2.0.3"},"dependencies":{"chai":"^3.5.0","glob":"^7.1.0","graphql-tag":"^0.1.14","typed-graphql":"^1.0.2"},"gitHead":"10c8abfbd77363f2fd26ea4cb794107a7e9a32c1","_id":"graphql-document-collector@0.1.2","_shasum":"cb5ea1b4590c13ab701c0f49c03a01e697f33664","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"rricard","email":"ricard.robin@gmail.com"},"dist":{"shasum":"cb5ea1b4590c13ab701c0f49c03a01e697f33664","tarball":"https://registry.npmjs.org/graphql-document-collector/-/graphql-document-collector-0.1.2.tgz","integrity":"sha512-JxdG89lr482c7j8nFrwGdW1mppsdQX8rVeUBtplkwT8tj0rauovzlXiAc9GGFZ2bxcfexA/IjQNfY39fGq62eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVhSptwBQFebNmW59/XUajAKcGA3+cH7zkY0Nno+/MmAIgTku0VRQQQpGn4ZaBhutLh6KAIecxpwpj+1OPrUFSoCU="}]},"maintainers":[{"name":"rricard","email":"ricard.robin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/graphql-document-collector-0.1.2.tgz_1492898701655_0.8643948012031615"},"directories":{}},"0.1.3":{"name":"graphql-document-collector","version":"0.1.3","description":"Load up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project","main":"lib","bin":{"graphql-document-collector":"./bin/graphql-document-collector"},"scripts":{"test":"mocha 'lib/**/__tests__/*.js'","compile":"tsc","prepublish":"npm run compile","pretest":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/rricard/graphql-document-collector.git"},"keywords":["graphql","document","project","collector"],"author":{"name":"Robin Ricard"},"license":"MIT","bugs":{"url":"https://github.com/rricard/graphql-document-collector/issues"},"homepage":"https://github.com/rricard/graphql-document-collector#readme","devDependencies":{"@types/chai":"^3.4.34","@types/glob":"^5.0.30","@types/node":"^6.0.41","@types/mocha":"^2.2.32","mocha":"^3.1.0","chai":"^3.5.0","typescript":"^2.0.3"},"dependencies":{"glob":"^7.1.0","graphql-tag":"^0.1.14","typed-graphql":"^1.0.2"},"gitHead":"299e47fc0e7c7ae8aa104b5272390239f11f975b","_id":"graphql-document-collector@0.1.3","_shasum":"2f7f215a91c2ed870bf3c0205dc127a42ee987a5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"rricard","email":"ricard.robin@gmail.com"},"dist":{"shasum":"2f7f215a91c2ed870bf3c0205dc127a42ee987a5","tarball":"https://registry.npmjs.org/graphql-document-collector/-/graphql-document-collector-0.1.3.tgz","integrity":"sha512-h2u+JDKWUKuKUsamAZ0VTki4xiTB4Tf6zBllUwatdEiXJWtY7UroLCZNQ0W380vCyMN/JPkV2SPiQQ5UW0sP7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/IKqhsaVpNuakcqOFxA7Qpg5Yr8csfPdtFQccNkLG+gIgNXs8+218soPF1KfakLIm9UsKDUJWYRweL7PMtwi4RDc="}]},"maintainers":[{"name":"rricard","email":"ricard.robin@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/graphql-document-collector-0.1.3.tgz_1492898851407_0.8959420470055193"},"directories":{}},"0.2.0":{"name":"graphql-document-collector","version":"0.2.0","description":"Load up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project","main":"lib","bin":{"graphql-document-collector":"./bin/graphql-document-collector"},"scripts":{"test":"mocha 'lib/**/__tests__/*.js'","compile":"tsc","prepublish":"npm run compile","pretest":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/rricard/graphql-document-collector.git"},"keywords":["graphql","document","project","collector"],"author":{"name":"Robin Ricard"},"license":"MIT","bugs":{"url":"https://github.com/rricard/graphql-document-collector/issues"},"homepage":"https://github.com/rricard/graphql-document-collector#readme","devDependencies":{"@types/chai":"^3.4.34","@types/glob":"^5.0.30","@types/mocha":"^2.2.32","@types/node":"^6.0.41","chai":"^3.5.0","mocha":"^3.1.0","typescript":"^2.6.2"},"dependencies":{"@types/graphql":"^0.11.7","glob":"^7.1.0","graphql":"^0.11.7"},"gitHead":"33dfb85d4cc5a24e48e27f6509cf4b5dcf94ec4b","_id":"graphql-document-collector@0.2.0","_shasum":"dc07f7322e6cc8f0ec2baf9f7ea19733fe379750","_from":".","_npmVersion":"3.8.9","_nodeVersion":"8.1.2","_npmUser":{"name":"stephen","email":"stephen@stephenwan.com"},"dist":{"shasum":"dc07f7322e6cc8f0ec2baf9f7ea19733fe379750","tarball":"https://registry.npmjs.org/graphql-document-collector/-/graphql-document-collector-0.2.0.tgz","integrity":"sha512-VrGyX0xK2jHTmhTf1lzcqkTD2c6rux5txiFu01xPOxw7fh31GpCuWYniv7iK/s8uDplmnV/Jz0bzcRVjU9oUvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/9bdN0oFml4v+EftbLPo+Bp1RsESnaPnUCKTwYSewHQIgOIYzCjA3rWMy1ehSnSxJ3AU45xtRP9kEOKkVgaPcKzI="}]},"maintainers":[{"email":"stephen@stephenwan.com","name":"stephen"},{"email":"s.stubailo@gmail.com","name":"sashko"},{"email":"npm@meteor.com","name":"mdg"},{"email":"ricard.robin@gmail.com","name":"rricard"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-document-collector-0.2.0.tgz_1512684217374_0.13099672086536884"},"directories":{}},"0.2.1":{"name":"graphql-document-collector","version":"0.2.1","description":"Load up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project","main":"lib","bin":{"graphql-document-collector":"./bin/graphql-document-collector"},"scripts":{"test":"mocha 'lib/**/__tests__/*.js'","compile":"tsc","prepublish":"npm run compile","pretest":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/rricard/graphql-document-collector.git"},"keywords":["graphql","document","project","collector"],"author":{"name":"Robin Ricard"},"license":"MIT","bugs":{"url":"https://github.com/rricard/graphql-document-collector/issues"},"homepage":"https://github.com/rricard/graphql-document-collector#readme","devDependencies":{"@types/chai":"^3.4.34","@types/glob":"^5.0.30","@types/mocha":"^2.2.32","@types/node":"^6.0.41","chai":"^3.5.0","mocha":"^3.1.0","typescript":"^2.6.2"},"dependencies":{"@types/graphql":"^0.11.7","glob":"^7.1.0","graphql":"^0.11.7"},"gitHead":"4c8ef47a4b41183b6cbde0773f06b492ea10a326","_id":"graphql-document-collector@0.2.1","_shasum":"1e206f949fdb3a72e9a86ef4da4b27cc353f6c10","_from":".","_npmVersion":"3.8.9","_nodeVersion":"8.1.2","_npmUser":{"name":"stephen","email":"stephen@stephenwan.com"},"dist":{"shasum":"1e206f949fdb3a72e9a86ef4da4b27cc353f6c10","tarball":"https://registry.npmjs.org/graphql-document-collector/-/graphql-document-collector-0.2.1.tgz","integrity":"sha512-QQ/NQEteun1pKOnh5kLM0XHW/3mFQV8Dh4UxJnwsFbdmFn+uDwlkv4EFlCiEtsooJcaJnjB2uOfBV4whaqtFXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICpWlHAhD9eJ5J7Xm6UrUAw/kL7f6bOFWO/zi5YkThbzAiBoCK2zH1mbUjjPWQuFJCdupPuP0BwKLSiKkH9MZamj1w=="}]},"maintainers":[{"email":"stephen@stephenwan.com","name":"stephen"},{"email":"s.stubailo@gmail.com","name":"sashko"},{"email":"npm@meteor.com","name":"mdg"},{"email":"ricard.robin@gmail.com","name":"rricard"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-document-collector-0.2.1.tgz_1516647270689_0.271066457265988"},"directories":{}},"0.2.2":{"name":"graphql-document-collector","version":"0.2.2","description":"Load up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project","main":"lib","bin":{"graphql-document-collector":"./bin/graphql-document-collector"},"scripts":{"test":"mocha 'lib/**/__tests__/*.js'","compile":"tsc","prepublish":"npm run compile","pretest":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/rricard/graphql-document-collector.git"},"keywords":["graphql","document","project","collector"],"author":{"name":"Robin Ricard"},"license":"MIT","bugs":{"url":"https://github.com/rricard/graphql-document-collector/issues"},"homepage":"https://github.com/rricard/graphql-document-collector#readme","devDependencies":{"@types/chai":"^3.4.34","@types/glob":"^5.0.30","@types/mocha":"^2.2.32","@types/node":"^6.0.41","chai":"^3.5.0","mocha":"^3.1.0","typescript":"^2.6.2"},"dependencies":{"@types/graphql":"^0.11.7","glob":"^7.1.0","graphql":"^0.11.7"},"gitHead":"36dc533e585fbb29266f962e858d51df23a502f1","_id":"graphql-document-collector@0.2.2","_nodeVersion":"11.10.1","_npmVersion":"6.7.0","dist":{"integrity":"sha512-lSP8ynFhLV99vhQKLIYPKDMd/qw7uqO8WL5QntKNcwXuv1qibzwtmUP4yJed6LS4AwDiuk3KS4i+FBNQQG6tYQ==","shasum":"a8512bce41d6b6cab48803403e7e3d1562cc7e64","tarball":"https://registry.npmjs.org/graphql-document-collector/-/graphql-document-collector-0.2.2.tgz","fileCount":65,"unpackedSize":75020,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcebQUCRA9TVsSAnZWagAAA5MP+wcWWLc3VprAzSP3ISLV\nH1XwFOeJLNSVLTKC8HpkoosmUemGUPXVUMSyIVoUoVgXpf0TCYbPLnAH1XV1\nacnod9nWy5UD2DMGMBWHAGGk/8jT6Eka/zSVlSfMsR3NzO27wyrOejfc8IpE\nN6WZoBsm5w/HiF9LGNq+B9Vvby+2F4L+XtD53RjOx/IjR+f82bHJ6T7lTYFx\n05SCK8RUCRBHADBhfrOyoMTrD29QXEY3gyXzv6zG3QBBaPJW+EyvlWBMTwDh\n1arimjtgKYzIYabQa+bFA+7SAVU35XIkwzGKWSGUTxNMEoMGIEch1s5D1Zvt\n5DVA1RIohLhq96MNVig69MwqdJUCE84OKSet+Ujh5o1OPU0l4OHi3XqKbCm+\nZhMcROxyCBm9jBFwd0BEinkRWDHRPtMZHpX+l+uQ/vFmFIhdw3E5qFwqHiVM\nCEPytHZx/ajxjZkMMgLddXzYRzdwQr66EAbZ4s48ljs7CwQmASj6rFNoX7GP\nbMYzyGG2au1jE8Kf4cMpQssEgpfjQ7UGgE9vVvSkPIIGRTnW2ihbNxLv5Udm\nkANgNkGOhPq5MNWPqMHzW9Or6wGjWRR7Di2KFQsLyd+MLlbsIktNMzlxLwNZ\nSGkb4zJkXgNrR1VudqDtJeIa0UHtacBqmQdHG16wUJYBI87ZGq+ZqNeyRmNe\naCwz\r\n=6WUI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCl9Iy40y3GpJIfoWC2rB7o/vRkrJT0Ka6m2F6vx2kMOwIgekzBZGSc2gcMePDETxh18uYXao0gLuELplzaOtqvdbA="}]},"maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"ricard.robin@gmail.com","name":"rricard"},{"email":"s.stubailo@gmail.com","name":"sashko"},{"email":"stephen@stephenwan.com","name":"stephen"}],"_npmUser":{"name":"stephen","email":"stephen@stephenwan.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-document-collector_0.2.2_1551479828321_0.9417102065881449"},"_hasShrinkwrap":false}},"readme":"# graphql-document-collector\nLoad up smartly, in one location, all of the GraphQL queries/mutations/subscriptions of your project\n\n[![npm version](https://badge.fury.io/js/graphql-document-collector.svg)](https://badge.fury.io/js/graphql-document-collector) [![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack)\n\n## Installation\n\n```\nnpm i -g graphql-document-collector\n```\n\n## Usage\n\n`graphql-document-collector` has a straightforward CLI interface to precompile all of your GraphQL documents in one definition file:\n\n```\ngraphql-document-collector '$glob' > $dest\n```\n\n## Example\n\nCollect all `.graphql` files of your project in a single `documents.json` definition file:\n\n```\ngraphql-document-collector '**/*.graphql' > documents.json\n```\n\nThis can be exploited afterwards like this:\n\n```js\n// Note: if you are using webpack, you will need to setup a 'json-loader'\nconst graphqlDocs = require('./documents.json');\n\n// You can use any client able to read some graphql document AST\napolloClient.query({query: graphqlDocs['queries/ListMovies.graphql']})\n.then(({data}) => {/* ... */});\n```\n\n> Note: you don't have to worry about loading fragments, they are already resolved in the document.\n","maintainers":[{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"ricard.robin@gmail.com","name":"rricard"},{"email":"s.stubailo@gmail.com","name":"sashko"},{"email":"stephen@stephenwan.com","name":"stephen"}],"time":{"modified":"2022-06-18T13:56:22.107Z","created":"2016-10-03T00:09:10.952Z","0.1.0":"2016-10-03T00:09:10.952Z","0.1.1":"2016-12-06T13:20:52.180Z","0.1.2":"2017-04-22T22:05:03.697Z","0.1.3":"2017-04-22T22:07:32.001Z","0.2.0":"2017-12-07T22:03:37.510Z","0.2.1":"2018-01-22T18:54:30.810Z","0.2.2":"2019-03-01T22:37:08.477Z"},"homepage":"https://github.com/rricard/graphql-document-collector#readme","keywords":["graphql","document","project","collector"],"repository":{"type":"git","url":"git+https://github.com/rricard/graphql-document-collector.git"},"author":{"name":"Robin Ricard"},"bugs":{"url":"https://github.com/rricard/graphql-document-collector/issues"},"license":"MIT","readmeFilename":"README.md"}