{"dist":{"shasum":"a0e84282263880776d2a0d775741f75155cb7011","tarball":"https://registry.npmjs.org/prisma-cli-core/-/prisma-cli-core-1.0.5-117.tgz","fileCount":236,"integrity":"sha512-Ued4ivAFcwD1VRxT1SgWBQHkWYmhxosJzBPP9U8lD1s9VmA9Yv/fU9/YYq0O4n9UFuOUkbxoDlsPC1IqIVoilg==","signatures":[{"sig":"MEQCIGoB72fx0HrEofV5mODWwmNvBxa5VLM5cgaPSKsA1kU7AiBbrabZsgIesf83z+gVQiAJEkxnV9riMESTVn/0fMyLHg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":719210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbO4piCRA9TVsSAnZWagAAo1cQAIsm1T0NbB1vCbLUhZe7\nRbreborh6jRgywfwB5knq5KzkCfNtNc7875VzIKO4KijRfdWWZtxad7B9Wk8\nrBGqlWdYrVDJn3LXd0RXRQHwb35ppgB0YgDCruqroV5zg63IvoGhhlsmAQPv\nt9eluxqqSOD0DZGUvq7Utk0r0TY5Egdm1AXEhYtcdWeGZecpE3ANGJmBp9WQ\nIAUJWM9Y67KsD0aXBhDZPxB/tchTjOLEF3TbiMkbf1Cx0urLJVnqd4A4Mj41\nkCKiP6DZA8GEa7ogphEi9qi+0jWBOX78GdhRZIdV12N0aBgSJOJ2ekTht3Hs\nGsoCyq3jnI1QB3R+ud0wt3ryk4T6WxFq4Cp+zdiByLXZIEIE7vpfvG50FCxB\njWHBKYhQZFxDd3936HC649nz1OpuPn5r4FQb/OFDtJzngQv4UU7jLwAtl3y8\nwK8PztsF8KsNEVXpLmdrRQL85NPmI2NG6fzq405xHclYws5BoAWFJ3W7ibOu\nV17+6QponwhZ5OnIl6TOjv7IEQrVI+PcGNYWJg0peXNeaTIyEd/y6deNy6xX\n9cM53b65nxh3KQTWpCRZHsGfN3Jq3gl3fsu4xc8kega6K7/WTzt+n8aWFX8l\nfifP5lCUrl7laYE29/fZeJ0bysW9/3sjZVu6IQxBuVb1+dUJz6upszw8Pef+\nFGDx\r\n=JDbr\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"globals":{"ts-jest":{"tsConfigFile":"./tsconfig.json"}},"rootDir":"./src","testMatch":["**/*.test.(ts|js)"],"transform":{"^.+\\.(ts|tsx)$":"../../../node_modules/ts-jest/preprocessor.js"},"setupFiles":["../test/init.js"],"moduleFileExtensions":["ts","tsx","js","jsx","json"]},"main":"dist/index.js","name":"prisma-cli-core","files":["dist"],"author":{"name":"Tim Suchanek","email":"tim@graph.cool"},"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.graphql` 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","engines":{"node":">=6.0.0"},"license":"Apache-2.0","linters":{"*.ts":["prettier --single-quote --no-semi --trailing-comma all --write","tslint","jest --findRelatedTests","git add"]},"scripts":{"lint":"tslint src/**/*.ts","test":"NODE_ENV=test jest","build":"rimraf dist && tsc -d && scripts/cp-assets.sh","watch":"../../node_modules/.bin/watch -p 'src/**/*.*' -c 'yarn build'","prettier":"prettier --single-quote --no-semi --trailing-comma all --write '*.ts' 'src/**/*.ts'","precommit":"lint-staged","prepublishOnly":"yarn lint && yarn test && yarn build"},"typings":"dist/index.d.ts","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"_npmVersion":"5.6.0","description":"<a href=\"https://www.prismagraphql.com\"><img src=\"https://imgur.com/HUu10rH.png\" width=\"248\" /></a>","directories":{},"lint-staged":{"gitDir":"../../../"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_nodeVersion":"8.11.3","dependencies":{"opn":"^5.1.0","chalk":"^2.3.0","pause":"^0.1.0","scuid":"^1.0.2","table":"^4.0.1","globby":"^6.1.0","lodash":"^4.17.4","semver":"^5.4.1","adm-zip":"^0.4.7","express":"^4.16.3","figures":"^2.0.0","find-up":"^2.1.0","graphql":"^0.13.1","js-yaml":"^3.9.1","npm-run":"4.1.2","archiver":"^2.0.3","chokidar":"^1.7.0","fs-extra":"^5.0.0","inquirer":"^5.2.0","callsites":"^2.0.0","sillyname":"^0.1.0","validator":"^8.2.0","copy-paste":"^1.3.0","jwt-decode":"^2.2.0","multimatch":"^2.1.0","node-forge":"^0.7.1","portfinder":"^1.0.13","prisma-yml":"1.0.14-165","cross-spawn":"^5.1.0","graphql-config":"^2.0.1","util.promisify":"^1.0.0","isomorphic-fetch":"^2.2.1","graphcool-inquirer":"^1.0.3","prisma-json-schema":"0.0.4","source-map-support":"^0.4.18","lodash.differenceby":"^4.8.0","download-github-repo":"^0.1.3","express-request-proxy":"^2.0.0","prisma-db-introspection":"0.0.1-100","graphql-config-extension-prisma":"^0.0.12","graphql-playground-middleware-express":"^1.6.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^21.0.2","nock":"^9.0.14","faker":"^4.1.0","husky":"^0.14.3","rimraf":"^2.6.1","tslint":"^5.6.0","graphql":"^0.11.0 || ^0.12.0 || ^0.13.0","ts-jest":"^21.0.0","prettier":"^1.10.2","watch-cli":"^0.2.3","typescript":"^2.6.2","@types/node":"^8.0.22","lint-staged":"^4.2.3","graphql-tools":"^2.24.0","@types/graphql":"^0.13.1","@types/fs-extra":"^5.0.0","@types/aws-lambda":"^0.0.17","tslint-eslint-rules":"^4.1.1","tslint-config-prettier":"^1.3.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0"},"_npmOperationalInternal":{"tmp":"tmp/prisma-cli-core_1.0.5-117_1530628706630_0.42750946364051434","host":"s3://npm-registry-packages"},"_id":"prisma-cli-core@1.0.5-117","version":"1.0.5-117"}