{"name":"codemirror-graphql","version":"0.12.0-alpha.1","license":"MIT","_id":"codemirror-graphql@0.12.0-alpha.1","maintainers":[{"name":"ags-","email":"agomezs@fb.com"},{"name":"asiandrummer","email":"asiandrummer@gmail.com"},{"name":"kassens","email":"jkassens@fb.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"wincent","email":"greg@hurrell.net"}],"contributors":[{"name":"Hyohyeon Jeong","email":"asiandrummer@fb.com"},{"url":"http://leebyron.com/","name":"Lee Byron","email":"lee@leebyron.com"},{"name":"Angel Gomez Salazar","email":"agomezs@fb.com"}],"homepage":"https://github.com/graphql/graphiql/tree/master/packages/codemirror-graphql#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:codemirror-graphql"},"dist":{"shasum":"b09eceace46e47590d299862d275b73356b2da6d","tarball":"http://registry-npm.ywwl.com/codemirror-graphql/download/codemirror-graphql-0.12.0-alpha.1.tgz","fileCount":45,"integrity":"sha512-YPjbZrUltNnK6s+gEonC1OZyp4lFj91phFq8OCJIiuu0PfDaFSEnOlu3vHi0MEM9Z+ZE+jdN7KHDGvA4gFOm5A==","signatures":[{"sig":"MEQCIGZIG3al/Rd0yts1v66QP5A8uAImpd192Rdpjks+JE6KAiBZQO2/HPsTBF39mZZzByeGHmU6ymXlpzilptQPYfQXCw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":144053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIx1JCRA9TVsSAnZWagAA4r0P/REqo1/D+DYpwKu0Iu9B\nAa4ps/DRlgHWpJ20LpkC1LTSU+t+JtPSUPCyzdfm9bqsg+AbCHFtvSi0zzaT\nINd90XPxQj5HlDgYd+eVEcgPCbuUkL5rFzbYJI6evdXsQnbcr09HqvmnOyxQ\nVn/Li8gP/S5wxqb+RfxJhXmKkmJqo8yW9rSeaQnchMk1j9spm+awSS6N+5V2\nE42OUhmQncHr94/CLdwjwfo9A/N9zKB+eZI8OHzBYvTQrZJ5AuajAcMKDl3c\nCxTjSzx4dGEsXVzxp8CpywNYWUEbOeIKGMIBd5xDUs5tsXsjfnj8pcCV5CPc\ntm+xW4Sno1MMc4gmooQlygYRDhnswZHVhpLgC3f4rwASJdZOeZa0rBka1U5S\nYWsx9bqBFgRFYa7VWUot05aTg9aZNvSfccHD3M+o5jYH7G+QDZmoikkzzieP\n4YPKXK4mqi8zoAByINoLYp3ytiH6irDjFYxyC2TRjxyhdjF1DZ6K/bLMiEGP\nrxjZRHs75IUt4qNshPp+V5st05YKviQ+nj6pzep7cJrik7pFIOhQLFegSBqw\ntzReYPzHUYi53TtyESqJjHVK7oG8ThlmoPFw8uRMr9K11p2ZYnGzZUFw2aZ1\n1TRKOaWA+5CMB9ex2adK4v6WYA/B+4vnQEuQPQi6l555HpfiEQtel0aXYVa+\nlRsm\r\n=ge6t\r\n-----END PGP SIGNATURE-----\r\n","size":22744,"noattachment":false,"key":"/codemirror-graphql/-/codemirror-graphql-0.12.0-alpha.1.tgz"},"readme":"# GraphQL mode for CodeMirror\n\n[![NPM](https://img.shields.io/npm/v/codemirror-graphql.svg?style=flat-square)](https://npmjs.com/codemirror-graphql)\n![npm downloads](https://img.shields.io/npm/dm/codemirror-graphql?label=npm%20downloads)\n[![License](https://img.shields.io/npm/l/codemirror-graphql.svg?style=flat-square)](LICENSE)\n\nProvides CodeMirror with a parser mode for GraphQL along with a live linter and\ntypeahead hinter powered by your GraphQL Schema.\n\n![Demo .gif of GraphQL Codemirror Mode](https://raw.githubusercontent.com/graphql/graphiql/master/packages/codemirror-graphql/resources/example.gif)\n\n### Getting Started\n\n```\nnpm install --save codemirror-graphql\n```\n\nCodeMirror helpers install themselves to the global CodeMirror when they\nare imported.\n\n```js\nimport CodeMirror from 'codemirror';\nimport 'codemirror/addon/hint/show-hint';\nimport 'codemirror/addon/lint/lint';\nimport 'codemirror-graphql/hint';\nimport 'codemirror-graphql/lint';\nimport 'codemirror-graphql/mode';\n\nCodeMirror.fromTextArea(myTextarea, {\n  mode: 'graphql',\n  lint: {\n    schema: myGraphQLSchema,\n  },\n  hintOptions: {\n    schema: myGraphQLSchema,\n  },\n});\n```\n\nBuild for the web with [webpack](http://webpack.github.io/) or\n[browserify](http://browserify.org/).\n","gitHead":"dfd2eb817086de87a860bc9230a79ac4bd547c24","options":{"mocha":"--full-trace --require resources/mochaBootload **/*-test.js"},"scripts":{"lint":"eslint src","test":"nyc --require @babel/polyfill --reporter lcov --reporter text mocha $npm_package_options_mocha","build":"yarn build-clean && yarn build-js && yarn build-esm && yarn build-flow .","check":"flow check","watch":"babel --optional runtime resources/watch.js | node","build-js":"babel src --root-mode upward --ignore **/__tests__/**,**/__mocks__/** --out-dir .","build-esm":"cross-env ESM=true babel src --root-mode upward  --ignore **/__tests__/**,**/__mocks__/** --out-dir esm && node ../../resources/renameFileExtensions.js './esm/{**,!**/__tests__/}/*.js' . .esm.js","build-flow":"node ../../resources/buildFlow.js","build-clean":"rimraf {mode,hint,info,jump,lint}.{js,esm.js,js.flow} && rimraf esm results utils variables coverage __tests__"},"_npmUser":{"name":"acao","email":"rikki.schulte@gmail.com"},"repository":{"url":"git+https://github.com/graphql/graphiql.git","type":"git"},"_npmVersion":"lerna/3.20.2/node@v12.13.1+x64 (darwin)","description":"GraphQL mode and helpers for CodeMirror.","directories":{},"_nodeVersion":"12.13.1","dependencies":{"graphql-language-service-parser":"^1.5.3-alpha.1","graphql-language-service-interface":"^2.4.0-alpha.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.0.0","chai":"4.1.1","sane":"2.0.0","jsdom":"^11.2.0","mocha":"7.0.0","rimraf":"^3.0.0","graphql":"^14.0.2","cross-env":"^6.0.3","codemirror":"^5.28.0","chai-subset":"1.6.0"},"peerDependencies":{"graphql":"^0.12.0 || ^0.13.0 || ^14.0.0","codemirror":"^5.26.0"},"_npmOperationalInternal":{"tmp":"tmp/codemirror-graphql_0.12.0-alpha.1_1579359561068_0.7265175367000944","host":"s3://npm-registry-packages"},"publish_time":1579359561207,"_cnpm_publish_time":1579359561207,"dist-tags":{"alpha":"2.0.9-alpha.1","beta":"3.0.0-beta.1","canary":"2.2.4-canary-be24c1cc.0","latest":"3.0.1","next":"2.0.0-next.2","rc":"3.0.0-rc.1"}}