{"name":"prisma-json-schema","version":"0.0.1","main":"dist/definition.js","typings":"dist/definition.d.ts","files":["dist"],"scripts":{"prepare":"npm run build","build":"rm -rf dist && tsc -d; cp src/schema.json dist","test":"npm run build","simple":"ajv -s src/schema.json -d simple.json","advanced":"ajv -s src/schema.json -d advanced.json"},"devDependencies":{"ajv-cli":"2.1.0","typescript":"2.6.2"},"repository":{"type":"git","url":"git+https://github.com/graphcool/prisma-json-schema.git"},"gitHead":"be29328c9680b406be3dd8311d11f404d4362c17","description":"JSON schema of prisma.yml files","bugs":{"url":"https://github.com/graphcool/prisma-json-schema/issues"},"homepage":"https://github.com/graphcool/prisma-json-schema#readme","_id":"prisma-json-schema@0.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-V9UNqGtfqX5ZPt0kjv5JfE4Cj5Oc7NjSvkodUeB6M3Rsqob2Amzzft2HlU0IptiBauqPKzWEqiplM2fRCaC27A==","shasum":"0802e156a293faefdf21e5e41beb8d3681f45cb1","tarball":"http://registry-npm.ywwl.com/prisma-json-schema/download/prisma-json-schema-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtvO6fBxr9WupLPNK+goKyyYqmlY3cvnK7O+9e+z7JrAiEAuIpdFCjALqrsEXtZsnGz4rRjH75ttlw0XV/Y5r49WN0="}],"size":1886,"noattachment":false,"key":"/prisma-json-schema/-/prisma-json-schema-0.0.1.tgz"},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-json-schema-0.0.1.tgz_1515845677741_0.6113398203160614"},"directories":{},"readme":"# prisma-json-schema\n\nJSON schema of prisma.yml files\n\n[![CircleCI](https://circleci.com/gh/prisma/prisma-json-schema.svg?style=shield)](https://circleci.com/gh/prisma/prisma-json-schema) [![npm version](https://badge.fury.io/js/prisma-json-schema.svg)](https://badge.fury.io/js/prisma-json-schema)\n\n## Usage\n\n### JSON Schema\n\n#### As hosted URL\n\nYou can use the following URL for the current JSON schema file:\n\n```\nhttps://raw.githubusercontent.com/prisma/prisma-json-schema/master/src/schema.json\n```\n\n#### Import as file in Node\n\n```js\nconst schema = require('prisma-json-schema/dist/schema.json')\n```\n\n#### Usage with VSCode\n\nAdd the following to your settings:\n\n```json\n{\n  \"yaml.schemas\": {\n    \"https://raw.githubusercontent.com/prisma/prisma-json-schema/master/src/schema.json\":\n      \"prisma.yml\"\n  }\n}\n```\n\n### Typescript Definitions\n\n```sh\nyarn add prisma-json-schema\n```\n\n```ts\nimport { PrismaDefinition } from 'prisma-json-schema'\n```\n\n","publish_time":1515845678614,"_cnpm_publish_time":1515845678614,"dist-tags":{"alpha":"0.0.5-alpha.2","latest":"0.1.3"}}