{ "name": "@graphiql/react", "version": "0.23.0", "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" }, "peerDependencies": { "graphql": "^15.5.0 || ^16.0.0", "react": "^16.8.0 || ^17 || ^18", "react-dom": "^16.8.0 || ^17 || ^18" }, "dependencies": { "@graphiql/toolkit": "^0.9.2", "@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.0.13", "copy-to-clipboard": "^3.2.0", "framer-motion": "^6.5.1", "graphql-language-service": "^5.2.2", "markdown-it": "^14.1.0", "set-value": "^4.1.0" }, "devDependencies": { "@babel/helper-string-parser": "^7.19.4", "@testing-library/react": "14.0.0", "@types/set-value": "^4.0.1", "@vitejs/plugin-react": "^4.3.1", "graphql": "^16.8.1", "postcss-nesting": "^10.1.7", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^4.6.3", "vite": "^5.3.4", "vite-plugin-svgr": "^4.2.0" } }