{"name":"codemirror-graphql","version":"0.12.2-alpha.1","license":"MIT","_id":"codemirror-graphql@0.12.2-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/main/packages/codemirror-graphql#readme","bugs":{"url":"https://github.com/graphql/graphiql/issues?q=issue+label:codemirror-graphql"},"dist":{"shasum":"b7e0b6e7965e748803fff166bd1a5afa529931d6","tarball":"http://registry-npm.ywwl.com/codemirror-graphql/download/codemirror-graphql-0.12.2-alpha.1.tgz","fileCount":45,"integrity":"sha512-hwAUnEm2/eIfJshH2zYLP1IaPcLP9Oc2r83W8LSHLUgRxUi1loa55l+AY6Sp5K28tGUGXjfWx/mzJPj8+iwQUA==","signatures":[{"sig":"MEUCIQCF9OjySbuu0dOthPQeRkFIGfUlrff65htbfkWeb6mzKgIgfcxUpM8JAXW0YUpvObsIxoacKJ9CipCj4QKus9ssG5M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":171914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNFp8CRA9TVsSAnZWagAAenEP/3Pl+yHK7unuJ1KE/cJA\no8xaP9U9pD5fbuH0RK/QCq3ogiZjl8tclm8Gu5j4VSKfRQvaMQgVCA4Cznwg\nWqGfp0DtQPe6+qp6jMc7rgLAwvX6QKvjMvH8VFdRtdqITAhx5GgCMe6uxl8L\nnPiRd9H7fmvWDImzQRlQt1j8l7vjq23Lw7Oy7I4LE2zpBKQhLDw24Zf51/CZ\nFdm/3CCMeNnujIh+SeQx8zuGFRc7zCy0Rh8g6uSaVDunbvg0HsIO3fBk+DKW\nYRr+17ervWh/2m3A6ugpVSf/fzDdlu3O+t6vwSa0HrLqWe03q3LRxOroIj/n\nYJtJZRmk+zxCXRqQLV0AYIQQEdfUHrhb1n36a/0vKDtZuyTH5UHYufDimfSM\nWyVRdgsciI5/aqXBJ/oV7g8FvR4sOAAUEg/OKFepbk+NmkbUswZ7uQOwEOde\nqgVgUs26xfdgqgkqx4ASh3nxf5F+l+M2VnKVkxXxv78LF5pfSEbyAPMK/Ice\nig6WXTc2taT5rMKeOsdGK23Kz/3eRrFYDS2/BatUa/V25SIuYObQaNKImwVn\nb8VJkcXcVsdlYxT6YZbjfzBwr0AyRG9LqW7OdP5XxNIc/1POzBSxXEmXWiuI\nv3NqNHr1QJFH/wa0fhy967QTUDlaDm/5YxFkEDYwDJaXydXi1OmvBDqA9ypK\nLJ5+\r\n=36D9\r\n-----END PGP SIGNATURE-----\r\n","size":26964,"noattachment":false,"key":"/codemirror-graphql/-/codemirror-graphql-0.12.2-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/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":"2de91ba08920927624ec6f6c8d86b6abc46b6d26","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.2","graphql-language-service-interface":"^2.4.2-alpha.1"},"_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.1_1597266556344_0.3568696339251032","host":"s3://npm-registry-packages"},"publish_time":1597266556462,"_cnpm_publish_time":1597266556462,"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"}}