{"name":"graphback","version":"0.2.0","description":"Auto generate resolvers on top of the graphql and database of your choice","main":"dist/index.js","types":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"author":{"name":"wtrocki@redhat.com"},"scripts":{"clean":"rimraf coverage dist types","build":"tsc && cp -Rf ./src/schema/partials ./dist/schema/partials","watch":"tsc -w ","lint":"tslint -t stylish --project \"tsconfig.json\"","test":"ava","pretest":"npm run build"},"ava":{"files":["tests/**/*"],"compileEnhancements":false,"extensions":["ts"],"require":["ts-node/register"]},"engines":{"node":"12.4.0"},"devDependencies":{"@types/glob":"5.0.35","@types/graphql":"0.13.4","@types/handlebars":"4.0.39","@types/knex":"0.14.24","@types/node":"8.10.25","@types/pino":"5.20.0","ava":"1.4.1","rimraf":"2.6.2","ts-node":"7.0.1","tslint":"5.11.0","tsutils":"3.0.0","typescript":"3.0.3"},"license":"Apache-2.0","dependencies":{"glob":"7.1.3","graphql":"0.13.2","graphql-code-generator":"0.11.0","graphql-codegen-core":"0.12.1","graphql-import":"0.7.0","graphql-tools":"3.1.1","handlebars":"4.0.14","knex":"0.15.2","pino":"5.5.0","tslib":"1.9.3"},"_id":"graphback@0.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-MbpI/0tWU2J0w+9M/a4TI0+mefcMkNltFeRgXmBOMSjH7Lb1aYjaLypU82QCAD1V1EsWj0HF4vShNJF+B5aqIQ==","shasum":"8080e0d2872e1e1bb203b6df5f5cb7f425251dc4","tarball":"http://registry-npm.ywwl.com/graphback/download/graphback-0.2.0.tgz","fileCount":114,"unpackedSize":107638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdARjICRA9TVsSAnZWagAAMgIP/3z3QzLdftjexu4+oF3Z\nF4HhrkUJipnwH6zsmy17J9P3ovtaNdMnRlhBCasBo05yGQP+YxFPFNQ48YqR\nA2cW5bfSRf6SMXa3yZLDvlp7l5XEozvKKrMdKLm3mG8ooy7Bfc4vBMVYQtDS\n5gKDXxct5mVfuwQkHqil1AGNUTsUOHEv/LaWxWNEQALFlYMHrQPr5lqtn4S1\nTG8LUhL+xhfw6AzQqZ3yzzoHmugfDnDkyGfGs94nePSsmkCv591AuRJ1ViWD\nAcB51PhOt6QuMefl4ZMuidB9pA86wRMP8ZrOrsytyZupXZNRJGAqB9EyaypG\nThrKhrxFfWg7chIrg3H918iK67OvDU7OayVDCUCexbR3KCbQ2LSMAwtxcpPg\nLHr1I0X4fcdLDd+Y1vJSaPxNIBLmmfgtXRaUqFw/j1jxTk0XOrTekjTaw40x\nYbzwUQ/D65adX1vQSbjevt5Eo6Fb4i2SKz0jxxpfnkskkX2e0g/9L2m6nzWh\nKP6uFs5amOzApFxZJj0lGK7+yEfHPn0J9W0sjsV6pxoWN9+8fUZnyNF9mtaL\nOokFbb+IkgSNZ9CKwGjMydGuTDAzy+rIiCq6EpQcNczqTZ/NHC7wz8z09CdI\nyppNWLpe0b381lUu/hdcX1hFky1NtEOzCYdyYKoiRK6r1fND2Rql9MToRL7k\ntpij\r\n=SqfE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBUQlHxlmdS/mvf9auvUGn8swaQn59EAORIRmHIGF6+wIgJ604HvIn66sd1o1J4DbNWplMaZGu4ukSpU+hi0vTpTs="}],"size":26333,"noattachment":false,"key":"/graphback/-/graphback-0.2.0.tgz"},"maintainers":[{"name":"wtrocki","email":"wtrocki@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphback_0.2.0_1560352968194_0.7634118811998072"},"_hasShrinkwrap":false,"readme":"## Graphback\n\n<p align=\"center\">\n  <img width=\"400\" src=\"https://raw.githubusercontent.com/aerogear/graphback/master/website/static/img/logo.png\"/>\n  <br/>\n  Auto generate database structure, <br/>\n  GraphQL Resolvers and Queries from GraphQL types 🚀\n</p>\n\n## Motivation \n\nGraphback helps you to kickstart your experience with any existing GraphQL implementation\nby generating backend and client side CRUD layer using your GraphQL data model.\n\n**Documentation**: https://graphback.dev\n\n**Repository**: https://github.com/aerogear/graphback/\n\n\n## Usage\n\n`graphback` provides a programmatic API for the Graphback ecosystem.\nIn most of the cases you can use graphback by utilizing graphback-cli package that will expose all useful commands and cover most of the use cases.\n\nInstall with npm:\n\n```bash\nnpm install graphback\n```\n\nInstall with yarn:\n\n```bash\nnpm install graphback\n```\n\n`buildGraphbackAPI` will process your schema and generate a CRUD API with schema, resolvers, services and data sources.\n\n```ts\nimport { buildGraphbackAPI } from 'graphback';\nimport { createKnexDbProvider } from '@graphback/runtime-knex';\nimport Knex from 'knex';\n\nconst db = Knex({...});\n\nconst { typeDefs, resolvers, contextCreator } = buildGraphbackAPI(schema, {\n  dataProviderCreator: createKnexDbProvider(db)\n});\n```\n\nUp-to-date usage and configuration information is covered in depth over on our website [graphhback.dev](https://graphback.dev/docs/getting-started/add-to-project).","publish_time":1560352968362,"_cnpm_publish_time":1560352968362,"dist-tags":{"dev":"0.10.0-rc2","latest":"1.1.2","next":"1.1.0-alpha2"}}