codemirror-graphql
Version:
GraphQL mode and helpers for CodeMirror.
58 lines (57 loc) • 1.95 kB
JSON
{
"name": "codemirror-graphql",
"version": "1.0.2",
"description": "GraphQL mode and helpers for CodeMirror.",
"contributors": [
"Hyohyeon Jeong <asiandrummer@fb.com>",
"Lee Byron <lee@leebyron.com> (http://leebyron.com/)",
"Angel Gomez Salazar <agomezs@fb.com>"
],
"homepage": "https://github.com/graphql/graphiql/tree/main/packages/codemirror-graphql#readme",
"repository": "https://github.com/graphql/graphiql",
"bugs": {
"url": "https://github.com/graphql/graphiql/issues?q=issue+label:codemirror-graphql"
},
"license": "MIT",
"main": "index.js",
"module": "esm/index.js",
"files": [
"dist",
"utils",
"variables",
"results",
"/*.js",
"/*.js.flow",
"/*.js.map",
"/*.d.ts",
"/*.d.ts.map",
"!babel.config.js",
"!jest.config.js"
],
"scripts": {
"build": "yarn build-clean && yarn build-js && yarn build-esm && yarn build-flow .",
"build-js": "yarn tsc",
"build-esm": "cross-env ESM=true yarn tsc --project tsconfig.esm.json && node ../../resources/renameFileExtensions.js './esm/{**,!**/__tests__/}/*.js' . .esm.js",
"build-clean": "rimraf {mode,hint,info,jump,lint}.{js,esm.js,js.flow,js.map,d.ts,d.ts.map} && rimraf esm results utils variables coverage __tests__",
"build-flow": "node ../../resources/buildFlow.js",
"watch": "babel --optional runtime resources/watch.js | node",
"test": "jest",
"postbuild": "node ../../resources/renameFileExtensions.js './esm/{**,!**/__tests__/}/*.js' . .esm.js"
},
"peerDependencies": {
"codemirror": "^5.54.0",
"graphql": ">= v14.5.0 <= 15.5.0"
},
"dependencies": {
"graphql-language-service-interface": "^2.8.2",
"graphql-language-service-parser": "^1.9.0"
},
"devDependencies": {
"codemirror": "^5.54.0",
"cross-env": "^7.0.2",
"graphql": "experimental-stream-defer",
"jsdom": "^16.4.0",
"rimraf": "^3.0.2",
"sane": "2.0.0"
}
}