{"name":"prisma-json-schema","version":"0.0.2","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":"3.0.0","typescript":"2.6.2"},"repository":{"type":"git","url":"git+https://github.com/graphcool/prisma-json-schema.git"},"gitHead":"c0ced7f810580cdf26898b3eda1dafd00b283768","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.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-ClASE4hHhs6hu9Q5c3ZDKtoCTBI/C66XtfWUOr1FTeUAFjHA97NM4Nz9eXeXeCk4DzbE0YTr0F8npdBCPZcy2g==","shasum":"2bc9f16838da602d6b71ba335e2319d268fa34af","tarball":"http://registry-npm.ywwl.com/prisma-json-schema/download/prisma-json-schema-0.0.2.tgz","fileCount":7,"unpackedSize":16858,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKlMpXSubQ19PftFbU7mJLXpaUSzsKoF2n2F1vxSB7NgIgDWnmxGyXp8UJKLYpFHzrLTcho9zdpQcXNWYqE3BAZcM="}],"size":5874,"noattachment":false,"key":"/prisma-json-schema/-/prisma-json-schema-0.0.2.tgz"},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/prisma-json-schema_0.0.2_1523544339378_0.3195016515639142"},"_hasShrinkwrap":false,"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":1523544339441,"_cnpm_publish_time":1523544339441,"dist-tags":{"alpha":"0.0.5-alpha.2","latest":"0.1.3"}}