UNPKG

@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)

89 lines (88 loc) 2.58 kB
{ "name": "@graphiql/react", "version": "0.28.2", "repository": { "type": "git", "url": "https://github.com/graphql/graphiql", "directory": "packages/graphiql-react" }, "homepage": "http://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", "main": "dist/index.js", "module": "dist/index.mjs", "exports": { "./package.json": "./package.json", ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./types/index.d.ts" }, "./font/roboto.css": "./font/roboto.css", "./font/fira-code.css": "./font/fira-code.css", "./dist/style.css": "./dist/style.css" }, "types": "types/index.d.ts", "keywords": [ "react", "graphql", "sdk", "codemirror" ], "files": [ "dist", "font", "src", "types" ], "scripts": { "prebuild": "rimraf dist types", "dev": "concurrently 'tsc --emitDeclarationOnly --watch' 'vite build --watch'", "build": "tsc --emitDeclarationOnly && vite build", "test": "vitest" }, "peerDependencies": { "graphql": "^15.5.0 || ^16.0.0 || ^17.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, "dependencies": { "react-compiler-runtime": "19.0.0-beta-37ed2a7-20241206", "@graphiql/toolkit": "^0.11.0", "@headlessui/react": "^1.7.15", "@radix-ui/react-dialog": "^1.0.4", "@radix-ui/react-dropdown-menu": "^2.0.5", "@radix-ui/react-tooltip": "^1.0.6", "@radix-ui/react-visually-hidden": "^1.0.3", "@types/codemirror": "^5.60.8", "clsx": "^1.2.1", "codemirror": "^5.65.3", "codemirror-graphql": "^2.2.0", "copy-to-clipboard": "^3.2.0", "framer-motion": "^6.5.1", "get-value": "^3.0.1", "graphql-language-service": "^5.3.0", "markdown-it": "^14.1.0", "set-value": "^4.1.0" }, "devDependencies": { "babel-plugin-react-compiler": "19.0.0-beta-37ed2a7-20241206", "@types/react-dom": "^18.3.1", "@babel/helper-string-parser": "^7.19.4", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.1.0", "@types/markdown-it": "^14.1.2", "@types/get-value": "^3.0.5", "@types/set-value": "^4.0.1", "@vitejs/plugin-react": "^4.3.1", "graphql": "^16.9.0", "postcss-nesting": "^10.1.7", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^4.6.3", "vite": "^5.3.6", "vite-plugin-svgr": "^4.2.0" } }