UNPKG

react-query

Version:

Hooks for managing, caching and syncing asynchronous and remote data in React

100 lines (99 loc) 3.3 kB
{ "name": "react-query", "version": "2.8.0", "description": "Hooks for managing, caching and syncing asynchronous and remote data in React", "author": "tannerlinsley", "license": "MIT", "repository": "tannerlinsley/react-query", "homepage": "https://github.com/tannerlinsley/react-query#readme", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "main": "index.js", "types": "types/index.d.ts", "module": "dist/react-query.mjs", "sideEffects": false, "scripts": { "test": "is-ci \"test:ci\" \"test:dev\"", "test:dev": "npm run test:types && npm run test:eslint && jest --watch", "test:ci": "npm run test:types && npm run test:eslint && jest", "test:coverage": "yarn test:ci; open coverage/lcov-report/index.html", "test:types": "tsc", "test:eslint": "eslint --ext .ts,.tsx ./src", "build": "NODE_ENV=production rollup -c", "build:types": "tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r && replace 'export type' 'export' ./types -r", "now-build": "yarn && cd www && yarn && yarn build", "start": "rollup -c -w", "format": "prettier {.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,tsx,json} --write", "stats": "open ./stats.html" }, "release": { "branches": [ "1.x", "master", { "name": "next", "prerelease": true } ] }, "files": [ "dist", "types", "scripts" ], "dependencies": {}, "peerDependencies": { "react": "^16.8.0" }, "devDependencies": { "@babel/core": "^7.10.2", "@babel/preset-env": "^7.10.2", "@babel/preset-react": "^7.10.1", "@babel/preset-typescript": "^7.10.4", "@rollup/plugin-replace": "^2.3.3", "@svgr/rollup": "^5.4.0", "@testing-library/react": "^10.4.7", "@types/jest": "^26.0.4", "@types/react": "^16.9.41", "@typescript-eslint/eslint-plugin": "^3.6.1", "@typescript-eslint/parser": "^3.6.1", "babel-eslint": "^10.1.0", "babel-jest": "^26.0.1", "babel-plugin-transform-async-to-promises": "^0.8.15", "cross-env": "^7.0.2", "eslint": "7.x", "eslint-config-prettier": "^6.11.0", "eslint-config-react-app": "^5.2.1", "eslint-config-standard": "^14.1.1", "eslint-config-standard-react": "^9.2.0", "eslint-plugin-flowtype": "5.x", "eslint-plugin-import": "2.x", "eslint-plugin-jsx-a11y": "6.x", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.1.3", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "7.20.0", "eslint-plugin-react-hooks": "4.0.4", "eslint-plugin-standard": "^4.0.1", "is-ci-cli": "^2.1.1", "jest": "^26.0.1", "prettier": "^2.0.5", "react": "^16.13.0", "react-dom": "^16.13.1", "react-error-boundary": "^2.2.2", "replace": "^1.2.0", "rollup": "^2.16.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jscc": "^1.0.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-prettier": "^2.1.0", "rollup-plugin-size": "^0.2.2", "rollup-plugin-terser": "^6.1.0", "rollup-plugin-visualizer": "^4.0.4", "typescript": "^3.9.5" } }