{ "name": "react-query", "version": "1.0.0-semantic-release", "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": "lib/index.js", "unpkg": "dist/react-query.development.js", "types": "types/index.d.ts", "module": "es/index.js", "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": "yarn build:commonjs && yarn build:es && yarn build:umd", "build:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/*.test.tsx ./src --out-dir lib", "build:es": "rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/*.test.tsx ./src --out-dir es", "build:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -c && rollup-plugin-visualizer stats-react.json stats-hydration.json", "build:types": "rimraf ./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" }, "files": [ "dist", "lib", "es", "types", "scripts", "hydration.js", "hydration.d.ts" ], "dependencies": { "@babel/runtime": "^7.5.5" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0" }, "peerDependenciesMeta": { "react-dom": { "optional": true }, "react-native": { "optional": true } }, "devDependencies": { "@babel/cli": "^7.11.6", "@babel/core": "^7.11.6", "@babel/plugin-transform-runtime": "^7.11.5", "@babel/preset-env": "^7.11.5", "@babel/preset-react": "^7.10.4", "@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", "@types/react-dom": "^16.9.8", "@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-const-enum": "^1.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", "rimraf": "^3.0.2", "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" } }