UNPKG

3.77 kBJSONView Raw
1{
2 "name": "graphiql",
3 "version": "1.11.4",
4 "description": "An graphical interactive in-browser GraphQL IDE.",
5 "contributors": [
6 "Hyohyeon Jeong <asiandrummer@fb.com>",
7 "Lee Byron <lee@leebyron.com> (http://leebyron.com/)"
8 ],
9 "repository": {
10 "type": "git",
11 "url": "http://github.com/graphql/graphiql",
12 "directory": "packages/graphiql"
13 },
14 "homepage": "http://github.com/graphql/graphiql/tree/master/packages/graphiql#readme",
15 "bugs": {
16 "url": "https://github.com/graphql/graphiql/issues?q=issue+label:graphiql"
17 },
18 "license": "MIT",
19 "main": "dist/index.js",
20 "module": "esm/index.js",
21 "types": "dist/index.d.ts",
22 "files": [
23 "dist",
24 "esm",
25 "src",
26 "graphiql.js",
27 "graphiql.min.js",
28 "graphiql.min.js.map",
29 "graphiql.css",
30 "graphiql.min.css",
31 "graphiql.min.css.map"
32 ],
33 "scripts": {
34 "analyze-bundle": "cross-env NODE_ENV=production CDN=1 ANALYZE=1 yarn webpack -p",
35 "build": "yarn build-clean && yarn build-cjs && yarn build-esm",
36 "build-bundles": "yarn build-bundles-clean && yarn build-bundles-dev && yarn build-bundles-min",
37 "build-bundles-clean": "rimraf 'graphiql.*{js,css}' *.html",
38 "build-bundles-dev": "cross-env NODE_ENV=development CDN=1 yarn webpack -d --bail",
39 "build-bundles-min": "cross-env ANALYZE=1 NODE_ENV=production CDN=1 yarn webpack -p --bail",
40 "build-cjs": "tsc",
41 "build-clean": "rimraf esm dist webpack *.html",
42 "build-demo": "build-storybook -o ./storybook",
43 "build-esm": "tsc --project ./tsconfig.esm.json",
44 "check": "tsc --noEmit",
45 "cypress-open": "yarn e2e-server 'cypress open'",
46 "dev": "cross-env NODE_ENV=development webpack-dev-server --config resources/webpack.config.js",
47 "e2e": "yarn e2e-server 'cypress run'",
48 "e2e-server": "start-server-and-test 'cross-env PORT=8080 node test/e2e-server' 'http-get://localhost:8080/graphql?query={test { id }}'",
49 "storybook": "start-storybook",
50 "webpack": "webpack --config resources/webpack.config.js"
51 },
52 "dependencies": {
53 "@graphiql/react": "^0.10.0",
54 "@graphiql/toolkit": "^0.6.1",
55 "entities": "^2.0.0",
56 "graphql-language-service": "^5.0.6",
57 "markdown-it": "^12.2.0"
58 },
59 "peerDependencies": {
60 "graphql": "^15.5.0 || ^16.0.0",
61 "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
62 "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
63 },
64 "devDependencies": {
65 "@testing-library/jest-dom": "^5.4.0",
66 "@testing-library/react": "9.4.1",
67 "@types/codemirror": "^5.60.5",
68 "@types/markdown-it": "^12.2.3",
69 "@types/node": "^14.14.22",
70 "@types/testing-library__jest-dom": "^5.0.1",
71 "babel-loader": "^8.1.0",
72 "babel-plugin-macros": "^2.8.0",
73 "cross-env": "^7.0.2",
74 "css-loader": "^3.5.1",
75 "cssnano": "^4.1.10",
76 "express": "^4.17.1",
77 "express-graphql": "experimental-stream-defer",
78 "fork-ts-checker-webpack-plugin": "4.1.3",
79 "graphql": "^16.4.0",
80 "graphql-subscriptions": "^2.0.0",
81 "html-webpack-plugin": "^4.2.0",
82 "identity-obj-proxy": "^3.0.0",
83 "mini-css-extract-plugin": "^0.9.0",
84 "postcss-import": "^12.0.1",
85 "postcss-loader": "^3.0.0",
86 "postcss-preset-env": "^6.7.0",
87 "prop-types": "15.7.2",
88 "react": "^17.0.2",
89 "react-dom": "^17.0.2",
90 "react-hot-loader": "^4.12.20",
91 "react-test-renderer": "^16.13.1",
92 "require-context.macro": "^1.2.2",
93 "rimraf": "^3.0.2",
94 "serve": "^11.3.0",
95 "start-server-and-test": "^1.10.11",
96 "style-loader": "^1.1.3",
97 "subscriptions-transport-ws": "0.11.0",
98 "ts-loader": "^7.0.0",
99 "typescript": "^4.6.3",
100 "webpack": "^4.42.1",
101 "webpack-bundle-analyzer": "^3.6.1",
102 "webpack-cli": "^3.3.11",
103 "webpack-dev-server": "^3.10.3",
104 "ws": "^8.3.0"
105 }
106}