UNPKG

1.97 kBJSONView Raw
1{
2 "name": "codemirror-graphql",
3 "version": "1.2.11",
4 "description": "GraphQL mode and helpers for CodeMirror.",
5 "contributors": [
6 "Hyohyeon Jeong <asiandrummer@fb.com>",
7 "Lee Byron <lee@leebyron.com> (http://leebyron.com/)",
8 "Angel Gomez Salazar <agomezs@fb.com>"
9 ],
10 "homepage": "https://github.com/graphql/graphiql/tree/main/packages/codemirror-graphql#readme",
11 "repository": "https://github.com/graphql/graphiql",
12 "bugs": {
13 "url": "https://github.com/graphql/graphiql/issues?q=issue+label:codemirror-graphql"
14 },
15 "license": "MIT",
16 "main": "index.js",
17 "module": "esm/index.js",
18 "files": [
19 "src",
20 "cm6-legacy",
21 "esm",
22 "utils",
23 "variables",
24 "results",
25 "/*.js",
26 "/*.js.flow",
27 "/*.js.map",
28 "/*.d.ts",
29 "/*.d.ts.map",
30 "!babel.config.js",
31 "!jest.config.js"
32 ],
33 "scripts": {
34 "build": "yarn build-clean && yarn build-js && yarn build-esm && yarn build-flow .",
35 "build-js": "yarn tsc",
36 "build-esm": "cross-env ESM=true yarn tsc --project tsconfig.esm.json && node ../../scripts/renameFileExtensions.js './esm/{**,!**/__tests__/}/*.js' . .esm.js",
37 "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 cm6-legacy __tests__",
38 "build-flow": "node ../../scripts/buildFlow.js",
39 "watch": "babel --optional runtime resources/watch.js | node",
40 "test": "jest",
41 "postbuild": "node ../../scripts/renameFileExtensions.js './esm/{**,!**/__tests__/}/*.js' . .esm.js"
42 },
43 "peerDependencies": {
44 "codemirror": "^5.58.2",
45 "graphql": "^15.5.0 || ^16.0.0"
46 },
47 "dependencies": {
48 "@codemirror/stream-parser": "^0.19.2",
49 "graphql-language-service": "^4.1.4"
50 },
51 "devDependencies": {
52 "codemirror": "^5.58.2",
53 "cross-env": "^7.0.2",
54 "graphql": "16.0.0-experimental-stream-defer.5",
55 "jsdom": "^16.4.0",
56 "rimraf": "^3.0.2",
57 "sane": "2.0.0"
58 }
59}