UNPKG

graphql-hooks

Version:
72 lines (71 loc) 1.99 kB
{ "name": "graphql-hooks", "version": "8.2.0", "description": "Graphql Hooks", "main": "lib/graphql-hooks.js", "module": "es/graphql-hooks.js", "unpkg": "dist/graphql-hooks.min.js", "types": "lib/index.d.ts", "scripts": { "clean": "rm -rf ./dist ./es ./lib", "build": "npm run build:code && npm run build:types", "build:code": "cross-env NODE_OPTIONS=--openssl-legacy-provider rollup -c", "build:types": "tsc --emitDeclarationOnly --declaration", "check-types": "tsc --noEmit", "prepublishOnly": "npm run build && cp ../../README.md . && cp ../../LICENSE ." }, "files": [ "dist", "es", "lib", "index.d.ts" ], "keywords": [ "graphql", "hooks", "graphql-hooks", "gql", "gql-hooks", "react-graphql-hooks", "react", "apollo" ], "author": "Brian Mullan <bmullan91@gmail.com>", "license": "Apache-2.0", "peerDependencies": { "react": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "dependencies": { "@0no-co/graphql.web": "^1.0.7", "@aws-crypto/sha256-browser": "^5.2.0", "buffer": "^6.0.3", "events": "^3.3.0", "extract-files": "^11.0.0", "use-deep-compare-effect": "^1.8.1" }, "devDependencies": { "@testing-library/react": "^16.0.1", "@types/extract-files": "^8.1.1", "cross-env": "^7.0.3", "formdata-node": "^6.0.3", "graphql": "^16.8.1", "graphql-hooks-memcache": "^3.2.0", "graphql-hooks-ssr": "^3.0.1", "graphql-tag": "^2.12.6", "graphql-ws": "^5.5.5", "jest-fetch-mock": "^3.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", "react-test-renderer": "^18.0.0", "subscriptions-transport-ws": "^0.11.0" }, "repository": { "type": "git", "url": "git://github.com/nearform/graphql-hooks.git" }, "bugs": { "url": "https://github.com/nearform/graphql-hooks/issues" }, "homepage": "https://github.com/nearform/graphql-hooks#readme", "gitHead": "efb2251e2b916a0d00f508e4bcdeda071305cde9" }