{ "name": "@apollo/client", "version": "3.3.19", "description": "A fully-featured caching GraphQL client.", "private": true, "keywords": [ "apollo", "graphql", "react", "hooks", "client", "cache" ], "author": "opensource@apollographql.com", "license": "MIT", "main": "./dist/main.cjs.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "sideEffects": false, "react-native": { "./dist/cache/inmemory/fixPolyfills.js": "./dist/cache/inmemory/fixPolyfills.native.js" }, "repository": { "type": "git", "url": "git+https://github.com/apollographql/apollo-client.git" }, "bugs": { "url": "https://github.com/apollographql/apollo-client/issues" }, "homepage": "https://www.apollographql.com/docs/react/", "scripts": { "prebuild": "npm run clean", "build": "tsc", "postbuild": "npm run update-version && npm run invariants && npm run sourcemaps && npm run rollup && npm run prepdist && npm run resolve && npm run verify-version", "update-version": "node config/version.js update", "verify-version": "node config/version.js verify", "invariants": "ts-node-script config/processInvariants.ts", "sourcemaps": "ts-node-script config/rewriteSourceMaps.ts", "rollup": "rollup -c ./config/rollup.config.js", "prepdist": "node ./config/prepareDist.js", "resolve": "ts-node-script config/resolveModuleIds.ts", "clean": "rimraf -r dist coverage lib", "test": "jest --config ./config/jest.config.js", "test:debug": "BABEL_ENV=server node --inspect-brk node_modules/.bin/jest --config ./config/jest.config.js --runInBand", "test:ci": "npm run test:coverage && npm run test:memory", "test:watch": "jest --config ./config/jest.config.js --watch", "test:memory": "cd scripts/memory && npm i && npm test", "test:coverage": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit", "coverage": "jest --config ./config/jest.config.js --verbose --coverage", "bundlesize": "npm run build && bundlesize", "predeploy": "npm run build", "deploy": "cd dist && npm publish" }, "bundlesize": [ { "name": "apollo-client", "path": "./dist/apollo-client.cjs.min.js", "maxSize": "25.6 kB" } ], "peerDependencies": { "graphql": "^14.0.0 || ^15.0.0", "react": "^16.8.0 || ^17.0.0", "subscriptions-transport-ws": "^0.9.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "subscriptions-transport-ws": { "optional": true } }, "dependencies": { "@graphql-typed-document-node/core": "^3.0.0", "@types/zen-observable": "^0.8.0", "@wry/context": "^0.6.0", "@wry/equality": "^0.4.0", "fast-json-stable-stringify": "^2.0.0", "graphql-tag": "^2.12.0", "hoist-non-react-statics": "^3.3.2", "optimism": "^0.16.0", "prop-types": "^15.7.2", "symbol-observable": "^4.0.0", "ts-invariant": "^0.7.0", "tslib": "^1.10.0", "zen-observable": "^0.8.14" }, "devDependencies": { "@babel/parser": "7.14.1", "@graphql-tools/schema": "7.1.5", "@rollup/plugin-node-resolve": "11.2.1", "@testing-library/react": "9.4.1", "@types/fast-json-stable-stringify": "2.0.0", "@types/fetch-mock": "7.3.3", "@types/glob": "7.1.3", "@types/hoist-non-react-statics": "3.3.1", "@types/jest": "26.0.23", "@types/lodash": "4.14.168", "@types/node": "15.6.1", "@types/react": "17.0.3", "@types/react-dom": "17.0.2", "@types/recompose": "0.30.7", "bundlesize": "0.18.1", "cross-fetch": "3.1.4", "crypto-hash": "1.3.0", "fetch-mock": "7.7.3", "glob": "7.1.7", "graphql": "15.5.0", "jest": "26.6.3", "jest-fetch-mock": "3.0.3", "jest-junit": "12.1.0", "lodash": "4.17.21", "react": "17.0.1", "react-dom": "17.0.1", "recast": "0.20.4", "recompose": "0.30.0", "resolve": "1.20.0", "rimraf": "3.0.2", "rollup": "1.31.1", "rollup-plugin-terser": "7.0.2", "rxjs": "6.6.7", "subscriptions-transport-ws": "0.9.18", "terser": "5.7.0", "ts-jest": "26.5.6", "ts-node": "10.0.0", "typescript": "3.9.9", "wait-for-observables": "1.0.3" }, "publishConfig": { "access": "public" } }