{"name":"codemirror-graphql","version":"0.12.2-alpha.0","license":"MIT","_id":"codemirror-graphql@0.12.2-alpha.0","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/main/packages/codemirror-graphql#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:codemirror-graphql"},"dist":{"shasum":"4bb652ddbc869c9986f4c40bd129c3e94fc4c373","tarball":"http://registry-npm.ywwl.com/codemirror-graphql/download/codemirror-graphql-0.12.2-alpha.0.tgz","fileCount":45,"integrity":"sha512-r708uzSHa1WrBSdCR9WJgUuQKdTtIPSjlwtjutQwI3uCnUki5aPRevkhmCxrwP+LzJ9ntBI8j6bJuyUer8F+UA==","signatures":[{"sig":"MEUCIE8ZYtgBQnZuKqUflJnTxJFNfDjN0YT4+zGPbf7EjRPxAiEA069iKpBqfUwE8iATKoPKv43lHKHob73Jba2T2rxdIpQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMMaqCRA9TVsSAnZWagAA3s0P/iQWpsFplYRY8/DrDqbM\nEmI2soXv7bmc8Z1XVIwVVhhtiuvLWYBhXna4aJcaUV5MEgwI8NroT7JAuWnE\n9kCvNea1pJUNFSp5gdCw9lrt5V7HnN6ZGfOBmrd7lmB7KUH9oUuamEHlf+YY\nFTy/Jxcm6sykg9b+SqekYbH5p+LGTetUT99jesZGHAVrp77KPEtl1xvlhqI1\n7ZxeOKCrur5IO+Uc4Y9zzn917yDDxQYSLE39rK54kV2FjF1CY8NJS8nFr2ZV\nx2Hlwl/VeEJKH6ijvhvLKegye6JhpYsiOgyGDVzFJWgd2nWR0cJYG+FL5OGY\nWz5w30r4Z22U7juMoC3swcYpwbDp4HWJS4ZNuz6kbGzyhawQRD6ucHqpPbOR\nKGKndC6aNFpwm+pQ7JGatdLtz+RgnkrJHpH8TXF340BgzQR2l4i7HNzRNjg3\nSSDUGIGw1lpXZK0tkIVRK3fNER4wqcEkf0bDvQIx9Ix9KIblipEkH+xxMBFO\n7pL4Jutc9gZnBYX8i3ehK3OnEBA0hg3uWiTm3VlhnnInBmKVPn6KQwhejXs9\n8FWYeFYFQ9wdkzPHDzkJuHeO7oYxJQeMbCl9JL1ROBhbO9tMmKrfx2fBz+y2\nA8HQVms6HOFr1s8Iu3lmzB5Z5DO1XliqLny21M6+sciBGhd+B800B3wzDWpD\n3Tn0\r\n=l38K\r\n-----END PGP SIGNATURE-----\r\n","size":26954,"noattachment":false,"key":"/codemirror-graphql/-/codemirror-graphql-0.12.2-alpha.0.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/main/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":"6288caae5e7271f4f15455b8526a64d69001decd","options":{"mocha":"--full-trace --require resources/mochaBootload **/*-test.js"},"scripts":{"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 .","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@v14.5.0+x64 (linux)","description":"GraphQL mode and helpers for CodeMirror.","directories":{},"_nodeVersion":"14.5.0","dependencies":{"graphql-language-service-parser":"^1.6.1","graphql-language-service-interface":"^2.4.2-alpha.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.0.1","chai":"4.2.0","sane":"2.0.0","jsdom":"^16.1.0","mocha":"7.1.1","rimraf":"^3.0.0","graphql":"15.0.0","cross-env":"^7.0.2","codemirror":"^5.52.2","chai-subset":"1.6.0"},"peerDependencies":{"graphql":"^14.0.0 || ^15.0.0","codemirror":"^5.54.0"},"_npmOperationalInternal":{"tmp":"tmp/codemirror-graphql_0.12.2-alpha.0_1597032106079_0.3605202564380756","host":"s3://npm-registry-packages"},"publish_time":1597032106217,"_cnpm_publish_time":1597032106217,"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"}}