{"name":"codemirror-graphql","version":"0.12.2-alpha.2","license":"MIT","_id":"codemirror-graphql@0.12.2-alpha.2","maintainers":[{"name":"benjie","email":"npm@benjiegillam.com"},{"name":"leebyron","email":"lee@leebyron.com"},{"name":"acao","email":"rikki.schulte@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"i1g","email":"ivan.goncharov.ua@gmail.com"},{"name":"wincent","email":"greg@hurrell.net"},{"name":"kassens","email":"jkassens@fb.com"},{"name":"orta","email":"orta.therox@gmail.com"},{"name":"asiandrummer","email":"asiandrummer@gmail.com"},{"name":"ags-","email":"agomezs@fb.com"}],"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":"6b25983a637cf220033ad62197b322d13d79f751","tarball":"http://registry-npm.ywwl.com/codemirror-graphql/download/codemirror-graphql-0.12.2-alpha.2.tgz","fileCount":45,"integrity":"sha512-a1TwshsSr5MjOBXa2QUGiAH0PjtEVyrE8xk7XEl/NpdDod9ORXPPKt+CF05ONR4wlhYu1bh9lQDeKoA4jM2mqg==","signatures":[{"sig":"MEUCIDOHvyDbPm/2/tQNibvsh/coxc2O5kcmqvZS/6kass4VAiEAmcyYs52e/IKFmxh5tLtsTUsYZmpn4kMhLXpLRsoz+TE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW5r2CRA9TVsSAnZWagAA088P/0whQ0/eE0rx0+WIBsuK\nGc8tNeLkhtsVN/iODRswX2+Ql+2BPDbN/pyjxRSy3s6fdKNra9iXAOi6wiiv\nOvPgYHZieGhpibpEEpJFF2LAF6QOayq0QRX8WuNEyDeTx+sdgFFZPwMEQFIj\nJdSpWP0EwWRoknZCCMr8I/oz3t83sQ7OfoA7/pvamCjr8CxLNwtOwb2/0ODq\nleJSuq6F6MPeGQWS3jIkyZxxOIYqmh5ak1DCMArfHayIDbsB4qyIkt1m7Dem\nSwsaGtzYDClB1ebcsnX6frIBxAdie/2GxiSwqoxprmlNGr8bx1ICN42ORPv7\nIP/T5Iak+IPK5IJGvleNRtCxAkqcFctw1a2/aHDtZe2Kd70EQ3VmMoGi1qvY\nVM9J93SNxQZsH8pMAnUSiPGPhbpMB8ZDrrs22YK5adC7Po00sLBRt96LiV3z\no7TTU+nHqHbjweBl2S4brR0JAqK1zlTtZDaBgdpanbQsHwAxj0/GMW+e+Dxx\nxZ5QquVGr62aSiMeZfxRdL7tek/5aMmmBYs8VBevab6SxgQgsz43Gu0utIvn\nsTqh4K5JBU07wYHSGSviB2BkM/2JVEBTS10x/lUdPhG7UgRXNFmeYc/esA7l\nLc+TW5qJaCVGhNxLhmLal3u/ILuENUVO2R73lcSw6hXcC4xQpsna7XC3CEID\nyoeu\r\n=Frhy\r\n-----END PGP SIGNATURE-----\r\n","size":26798,"noattachment":false,"key":"/codemirror-graphql/-/codemirror-graphql-0.12.2-alpha.2.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":"cbe5d323230a2c4b043c127a612acc4eb65e0123","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.3","graphql-language-service-interface":"^2.4.2-alpha.2"},"_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.2_1599838966570_0.14075687088953082","host":"s3://npm-registry-packages"},"publish_time":1599838966695,"_cnpm_publish_time":1599838966695,"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"}}