{"name":"prisma-cli-engine","version":"1.22.2","main":"dist/index.js","typings":"dist/index.d.ts","author":{"name":"Tim Suchanek","email":"tim@graph.cool"},"license":"Apache-2.0","devDependencies":{"@types/fs-extra":"^5.0.0","@types/jest":"^20.0.8","@types/lodash":"^4.14.77","@types/node":"^8.0.22","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^4.2.3","nock":"^9.0.14","prettier":"^1.10.2","rimraf":"^2.6.1","ts-jest":"^21.0.0","tslint":"^5.6.0","tslint-config-prettier":"^1.3.0","tslint-eslint-rules":"^4.1.1","typescript":"^2.6.2","watch-cli":"^0.2.3"},"scripts":{"build":"tsc -d","lint":"tslint src/**/*.ts","precommit":"lint-staged","watch":"../../node_modules/.bin/watch -p 'src/**/*.*' -c 'yarn build'","prettier":"prettier --single-quote --no-semi --trailing-comma all --write '*.ts' 'src/**/*.ts'","prepublishOnly":"yarn lint && yarn test && yarn build","test":"npm run lint && jest"},"lint-staged":{"gitDir":"../../../"},"linters":{"*.ts":["prettier --single-quote --no-semi --trailing-comma all --write","tslint","jest --findRelatedTests","git add"]},"jest":{"moduleFileExtensions":["ts","tsx","js","jsx","json"],"rootDir":"./src","transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"testMatch":["**/*.test.(ts|js)"],"setupFiles":["../test/init.js"],"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}}},"dependencies":{"@heroku/linewrap":"^1.0.0","ansi-escapes":"^3.0.0","ansi-styles":"^3.2.0","cardinal":"^1.0.0","chalk":"^2.3.0","charm":"^1.0.2","debug":"^3.1.0","directory-tree":"^2.0.0","figures":"^2.0.0","find-up":"^3.0.0","fs-extra":"^7.0.0","graphql-request":"^1.5.0","inquirer":"^6.2.0","isomorphic-fetch":"^2.2.1","jsonwebtoken":"^8.1.0","klaw-sync":"^6.0.0","lodash":"^4.17.4","lodash.ary":"^4.1.1","lodash.defaults":"^4.2.0","lodash.flatten":"^4.4.0","lodash.get":"^4.4.2","lodash.groupby":"^4.6.0","lodash.identity":"^3.0.0","lodash.maxby":"4.x","lodash.partial":"^4.2.1","lodash.property":"^4.4.2","lodash.result":"^4.5.2","lodash.uniqby":"^4.7.0","marked":"^0.5.1","marked-terminal":"^3.1.1","mkdirp":"^0.5.1","opn":"^5.1.0","prisma-json-schema":"0.1.3","prisma-yml":"1.22.2","raven":"2.6.4","rwlockfile":"^1.4.8","scuid":"^1.0.2","serialize-error":"^3.0.0","source-map-support":"^0.4.18","string-similarity":"^1.2.0","strip-ansi":"^4.0.0","supports-color":"^4.4.0","treeify":"^1.0.1","update-notifier":"^2.3.0"},"description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","_id":"prisma-cli-engine@1.22.2","_npmVersion":"6.4.1","_nodeVersion":"8.14.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-0vDpBNq8eLu1KcmN/BwRbHHGO1gJN+0fO5LKPrOZINx/NYjCROl+KqY2yJdSsy6VHDSUeTntpjURnAT/nUddmg==","shasum":"671f93ece94298acf6c9b7bf3f30c684c0a52e63","tarball":"http://registry-npm.ywwl.com/prisma-cli-engine/download/prisma-cli-engine-1.22.2.tgz","fileCount":189,"unpackedSize":578480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCn+zCRA9TVsSAnZWagAA4LkP/1wEYXMgvbXfRFAryDQh\nNdnyfs0+2nHPp8ZRiqOAXbeZ9p8L3k5PQdT6y/bm35O2zT3maiOxDah2zgAU\n1yBOEodnmIy8f40XgDSOSPM3BQMvQ/YE+N6iULuMJEML1P8tyi4zEBuK7KAt\nd3aNp63NcF2QkTotVRsBUNfN++iC9L/dxsIKfb9po/smMcL/ineuVdMGHmlj\nJBsrwIIuOMtsKxsTx2wAfkzldOo+1rqmP5PBDwuKgnbruEpak229qwlQQLIQ\nFkOQQKvrS8H89ozQXiXlOmKy4ULk/t/psv4DZ8kQ9+al/u+Q4k8W1CSEIVyB\nXdSgwp1FroV9TtVA84iKmg3SD9P7vpLYLAt2ONCLi7ZNdGrpbVMPmqmfvD5Z\n7JXKxdakTDUIoo6hVBJJlMSiRtFDugvNWqgkh8yUaVHE+Nv8wyEFEqz2+oxn\nAHTeags5sYFaWmaSApdpSkzRTq0Ljzzc9hnyDk1LNWj6Bl5YmZhEsr/9XfC4\nq1oe0ryQWDlhNT3Pb7eMa6U8mJRLoPfZDtuBcpp+NbDaEMVqhiRn7WJmmxp+\nvGNx21wJQ2TLbH7Je1Gq0ux8VxCkn/XF7H/xLRQvaE/SDIOSl2Dzw0IV9lrs\nhxJB5y0w9Xf0jIktjqNAtdejByabXFZIQWO9VTNNM92pAX2GENbNpE5CEhP7\nF9yu\r\n=0qC9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwDxvIrD54qeQS4XhB711aKubjAJR6BiKdqhGPq+q+KAiEApTciGPVgxt2n2ds64ICD0du1BRaBaZctxLzu3LaRPNA="}],"size":117690,"noattachment":false,"key":"/prisma-cli-engine/-/prisma-cli-engine-1.22.2.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-cli-engine_1.22.2_1544191922975_0.0034990502467295848"},"_hasShrinkwrap":false,"readme":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>\n\n[Website](https://www.prismagraphql.com) • [Docs](https://www.prismagraphql.com/docs/) • [Blog](https://blog.graph.cool/) • [Forum](https://www.graph.cool/forum) • [Slack](https://slack.graph.cool/) • [Twitter](https://twitter.com/graphcool)\n\n[![CircleCI](https://circleci.com/gh/graphcool/prisma.svg?style=shield)](https://circleci.com/gh/graphcool/prisma) [![Slack Status](https://slack.graph.cool/badge.svg)](https://slack.graph.cool) [![npm version](https://badge.fury.io/js/prisma.svg)](https://badge.fury.io/js/prisma)\n\n**Prisma - turn your database into a GraphQL API**. Prisma lets you design your data model and have a production ready [GraphQL](https://www.howtographql.com/) API online in minutes.\n\nThe Prisma GraphQL API provides powerful abstractions and building blocks to develop flexible, scalable GraphQL backends:\n\n1. **Type-safe API** that can be used from frontend and backend, including filters, aggregations and transactions.\n2. **Data modeling** with declarative SDL. Prisma migrates your underlying database automatically.\n3. **Realtime API** using GraphQL Subscriptions.\n4. **Advanced API composition** using GraphQL Bindings and schema stitching.\n5. **Works with all frontend frameworks** like React, Vue.js, Angular ([Quickstart Examples](https://www.prismagraphql.com/docs/quickstart/)).\n\n## Contents\n\n<!--\n<img align=\"right\" width=\"400\" src=\"https://imgur.com/EsopgE3.gif\" />\n-->\n\n* [Quickstart](#quickstart)\n* [Examples](#examples)\n* [Architecture](#architecture)\n* [Supported Databases](#supported-databases)\n* [GraphQL API](#graphql-api)\n* [Community](#community)\n* [Contributing](#contributing)\n\n## Quickstart\n\n[Watch this 4 min tutorial](https://www.youtube.com/watch?v=20zGexpEitc) or follow the steps below to get started with Prisma:\n\n1. **Install the CLI via NPM:**\n\n```console\nnpm install -g prisma\n```\n\n2. **Create a new service:**\n\nThe following command creates all files you need for a new [service](https://www.prismagraphql.com/docs/reference/service-configuration/overview-ieshoo5ohm).\n\n```console\nprisma init\n```\n\n3. **Define your data model:**\n\nEdit `datamodel.prisma` to define your data model using the [GraphQL SDL notation](https://www.prismagraphql.com/docs/reference/service-configuration/data-modelling-(sdl)-eiroozae8u).\n\n```graphql\ntype Tweet {\n  id: ID! @unique\n  createdAt: DateTime!\n  text: String!\n  owner: User!\n  location: Location!\n}\n\ntype User {\n  id: ID! @unique\n  createdAt: DateTime!\n  updatedAt: DateTime!\n  handle: String! @unique\n  name: String\n  tweets: [Tweet!]!\n}\n\ntype Location {\n  latitude: Float!\n  longitude: Float!\n}\n```\n\n5. **Deploy your service:**\n\nTo deploy your service simply run the following command and select one of the hosted development clusters or setup a local Docker-based development environment:\n\n```console\nprisma deploy\n```\n\n6. **Connect to your GraphQL endpoint:**\n\nUse the endpoint from the previous step in your frontend (or backend) applications to connect to your GraphQL API.\n\n7. **Read more in the dedicated quickstarts for your favorite technology**\n\n[![](https://imgur.com/T5nakij.png)](https://www.prismagraphql.com/docs/quickstart/)\n\n## Examples\n\n- [demo-application](https://github.com/graphcool/graphql-server-example)\n- [auth](examples/auth)\n- [file-handling-s3](examples/file-handling-s3)\n- [github-auth](examples/github-auth)\n- [permissions](examples/permissions)\n- [resolver-forwarding](examples/resolver-forwarding)\n- [subscriptions](examples/subscriptions)\n\n\n## Architecture\n\nPrisma is a secure API layer that sits in front of your database. Acting as a proxy, Prisma exposes a powerful GraphQL API and manages Rate-Limiting, Authentication, Logging and a host of other features. Because Prisma is a standalone process, it can be scaled independently from your application layer and provide scalable subscriptions infrastructure.\n\n![](https://imgur.com/SdssPgT.png)\n\n## Supported Databases\n\nPrisma can be used for MySQL Databases out of the box. More database connectors will follow:\n\n* [PostgreSQL Connector](https://github.com/graphcool/prisma/issues/1641)\n* [MS SQL Connector](https://github.com/graphcool/prisma/issues/1642)\n* [MongoDB Connector](https://github.com/graphcool/prisma/issues/1643)\n* [Oracle Connector](https://github.com/graphcool/prisma/issues/1644)\n* [ArangoDB Connector](https://github.com/graphcool/prisma/issues/1645)\n* [Neo4j Connector](https://github.com/graphcool/prisma/issues/1646)\n* [Druid Connector](https://github.com/graphcool/prisma/issues/1647)\n* [Dgraph Connector](https://github.com/graphcool/prisma/issues/1648)\n* [DynamoDB Connector](https://github.com/graphcool/prisma/issues/1655)\n* [Elastic Search Connector](https://github.com/graphcool/prisma/issues/1665)\n* [Cloud Firestore Connector](https://github.com/graphcool/prisma/issues/1660)\n* [CockroachDB Connector](https://github.com/graphcool/prisma/issues/1705)\n* [Cassandra Connector](https://github.com/graphcool/prisma/issues/1750)\n* [Redis Connector](https://github.com/graphcool/prisma/issues/1722)\n* [AWS Neptune Connector](https://github.com/graphcool/prisma/issues/1752)\n* [CosmosDB Connector](https://github.com/graphcool/prisma/issues/1663)\n* [Influx Connector](https://github.com/graphcool/prisma/issues/1857)\n\nJoin the discussion or contribute to influence which we'll work on next!\n\n## GraphQL API\n\nThe most important component in Prisma is the GraphQL API:\n\n* Query, mutate & stream data via GraphQL CRUD API\n* Define and evolve your data model using GraphQL SDL\n\nTry the online demo: [open GraphQL Playground](https://www.prismagraphql.com/features)\n\n## Community\n\nPrisma has a community of thousands of amazing developers and contributors. Welcome, please join us! 👋\n\n* [Forum](https://www.graph.cool/forum)\n* [Slack](https://slack.graph.cool/)\n* [Twitter](https://twitter.com/graphcool)\n* [Facebook](https://www.facebook.com/GraphcoolHQ)\n* [Meetup](https://www.meetup.com/graphql-berlin)\n* [Email](hello@graph.cool)\n\n## Contributing\n\nContributions are **welcome and extremely helpful** 🙌\nPlease refer [to the contribution guide](https://github.com/graphcool/prisma/blob/master/CONTRIBUTING.md) for more information.\n","publish_time":1544191923222,"_cnpm_publish_time":1544191923222,"dist-tags":{"alpha":"1.36.0-alpha.11","beta":"1.35.0-beta","changelog":"1.0.45-changelog","latest":"1.34.12","test":"1.24.0-test.2"}}