@graphiql/react
Version:
[Changelog](https://github.com/graphql/graphiql/blob/main/packages/graphiql-react/CHANGELOG.md) | [API Docs](https://graphiql-test.netlify.app/typedoc/modules/graphiql_react.html) | [NPM](https://www.npmjs.com/package/@graphiql/react)
92 lines (91 loc) • 2.53 kB
JSON
{
"name": "@graphiql/react",
"version": "0.37.1",
"sideEffects": [
"dist/setup-workers/*"
],
"repository": {
"type": "git",
"url": "https://github.com/graphql/graphiql",
"directory": "packages/graphiql-react"
},
"homepage": "https://github.com/graphql/graphiql/tree/master/packages/graphiql-react#readme",
"bugs": {
"url": "https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/react"
},
"license": "MIT",
"exports": {
"./package.json": "./package.json",
"./style.css": "./dist/style.css",
"./font/*": "./font/*",
".": "./dist/index.js",
"./setup-workers/*": {
"types": "./dist/setup-workers/*.d.ts",
"import": "./dist/setup-workers/*.js"
}
},
"types": "dist/index.d.ts",
"keywords": [
"react",
"graphql",
"sdk",
"monaco-editor",
"monaco-graphql",
"monaco"
],
"files": [
"dist",
"font"
],
"scripts": {
"types:check": "tsc --noEmit",
"dev": "vite build --watch --emptyOutDir=false",
"build": "vite build",
"test": "vitest --typecheck"
},
"peerDependencies": {
"graphql": "^15.5.0 || ^16.0.0 || ^17.0.0",
"react": "^18 || ^19",
"react-compiler-runtime": "19.1.0-rc.1",
"react-dom": "^18 || ^19"
},
"dependencies": {
"@graphiql/toolkit": "^0.11.3",
"@radix-ui/react-dialog": "^1.1",
"@radix-ui/react-dropdown-menu": "^2.1",
"@radix-ui/react-tooltip": "^1.2",
"@radix-ui/react-visually-hidden": "^1.2",
"clsx": "^1.2.1",
"framer-motion": "^12.12",
"get-value": "^3.0.1",
"graphql-language-service": "^5.5.0",
"jsonc-parser": "^3.3.1",
"markdown-it": "^14.1.0",
"monaco-editor": "^0.52.2",
"monaco-graphql": "^1.7.2",
"prettier": "^3.5.3",
"set-value": "^4.1.0",
"zustand": "^5"
},
"devDependencies": {
"@babel/helper-string-parser": "^7.19.4",
"@types/get-value": "^3.0.5",
"@types/markdown-it": "^14.1.2",
"@types/react-dom": "^19.1.2",
"@types/set-value": "^4.0.1",
"@vitejs/plugin-react": "^4.4.1",
"babel-plugin-react-compiler": "19.1.0-rc.1",
"graphql": "^16.9.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"typescript": "^4.6.3",
"vite": "^6.3.4",
"vite-plugin-dts": "^4.5.3",
"vite-plugin-svgr": "^4.3.0"
},
"browser": {
"//": "Prevents esm.sh from injecting Node.js globals like `process`, which can break browser features (e.g., Mac `Cmd` key) when loading from CDN.",
"buffer": false,
"process": false
}
}