Open History to see the last commit
1{
2 "name": "react-query",
3 "version": "1.0.0-semantic-release",
4 "description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
5 "author": "tannerlinsley",
6 "license": "MIT",
7 "repository": "tannerlinsley/react-query",
8 "homepage": "https://github.com/tannerlinsley/react-query#readme",
9 "funding": {
10 "type": "github",
11 "url": "https://github.com/sponsors/tannerlinsley"
12 },
13 "main": "lib/index.js",
14 "unpkg": "dist/react-query.development.js",
15 "types": "types/index.d.ts",
16 "module": "es/index.js",
17 "sideEffects": [
18 "es/index.js",
19 "es/react/index.js",
20 "es/react/setBatchUpdatesFn.js",
21 "es/react/setLogger.js",
22 "lib/index.js",
23 "lib/react/index.js",
24 "lib/react/setBatchUpdatesFn.js",
25 "lib/react/setLogger.js"
26 ],
27 "scripts": {
28 "test": "is-ci \"test:ci\" \"test:dev\"",
29 "test:dev": "npm run test:types && npm run test:format && npm run test:eslint && jest --watch",
30 "test:ci": "npm run test:types && npm run test:format && npm run test:eslint && jest",
31 "test:coverage": "yarn test:ci; open coverage/lcov-report/index.html",
32 "test:format": "yarn prettier --check",
33 "test:types": "tsc",
34 "test:eslint": "eslint --ext .ts,.tsx ./src",
35 "test:size": "yarn build:umd && bundlewatch",
36 "build": "yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:types",
37 "build:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib",
38 "build:es": "rimraf ./es && babel --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es",
39 "build:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -c && rollup-plugin-visualizer stats-react.json",
40 "build:types": "rimraf ./types && tsc --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
41 "watch": "yarn watch:commonjs & yarn watch:es & yarn watch:umd & yarn watch:types",
42 "watch:commonjs": "rimraf ./lib && cross-env BABEL_ENV=commonjs babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir lib",
43 "watch:es": "rimraf ./es && babel --watch --extensions .ts,.tsx --ignore ./src/**/tests/**/* ./src --out-dir es",
44 "watch:umd": "rimraf ./dist && cross-env NODE_ENV=production rollup -w -c && rollup-plugin-visualizer stats-react.json",
45 "watch:types": "rimraf ./types && tsc --watch --project ./tsconfig.types.json && replace 'import type' 'import' ./types -r --silent && replace 'export type' 'export' ./types -r --silent",
46 "now-build": "yarn && cd www && yarn && yarn build",
47 "prettier": "prettier \"{.,src,src/**,example/src,example/src/**,types}/*.{md,js,jsx,ts,tsx,json}\"",
48 "start": "yarn watch",
49 "format": "yarn prettier --write",
50 "stats": "open ./stats.html"
51 },
52 "files": [
53 "core",
54 "dist",
55 "es",
56 "hydration",
57 "devtools",
58 "persistQueryClient-experimental",
59 "createWebStoragePersistor-experimental",
60 "createAsyncStoragePersistor-experimental",
61 "broadcastQueryClient-experimental",
62 "lib",
63 "react",
64 "scripts",
65 "types"
66 ],
67 "dependencies": {
68 "@babel/runtime": "^7.5.5",
69 "broadcast-channel": "^3.4.1",
70 "match-sorter": "^6.0.2"
71 },
72 "peerDependencies": {
73 "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
74 },
75 "peerDependenciesMeta": {
76 "react-dom": {
77 "optional": true
78 },
79 "react-native": {
80 "optional": true
81 }
82 },
83 "typesVersions": {
84 "<4.1": { "types/*": ["types/ts3.8/*"] }
85 },
86 "devDependencies": {
87 "@babel/cli": "^7.11.6",
88 "@babel/core": "^7.11.6",
89 "@babel/plugin-transform-runtime": "^7.11.5",
90 "@babel/preset-env": "^7.11.5",
91 "@babel/preset-react": "^7.10.4",
92 "@babel/preset-typescript": "^7.10.4",
93 "@rollup/plugin-replace": "^2.3.3",
94 "@svgr/rollup": "^5.4.0",
95 "@testing-library/react": "^10.4.7",
96 "@testing-library/jest-dom": "^5.14.1",
97 "@types/jest": "^26.0.4",
98 "@types/react": "^16.9.41",
99 "@types/react-dom": "^16.9.8",
100 "@typescript-eslint/eslint-plugin": "^4.8.1",
101 "@typescript-eslint/parser": "^4.8.1",
102 "babel-eslint": "^10.1.0",
103 "babel-jest": "^26.0.1",
104 "babel-plugin-const-enum": "^1.0.1",
105 "babel-plugin-transform-async-to-promises": "^0.8.15",
106 "bundlewatch": "^0.3.2",
107 "cross-env": "^7.0.2",
108 "eslint": "7.x",
109 "eslint-config-prettier": "^6.11.0",
110 "eslint-config-react-app": "^5.2.1",
111 "eslint-config-standard": "^14.1.1",
112 "eslint-config-standard-react": "^9.2.0",
113 "eslint-plugin-flowtype": "5.x",
114 "eslint-plugin-import": "^2.22.1",
115 "eslint-plugin-jsx-a11y": "6.x",
116 "eslint-plugin-node": "^11.1.0",
117 "eslint-plugin-prettier": "^3.1.3",
118 "eslint-plugin-promise": "^4.2.1",
119 "eslint-plugin-react": "7.20.0",
120 "eslint-plugin-react-hooks": "4.2.0",
121 "eslint-plugin-standard": "^4.0.1",
122 "is-ci-cli": "^2.1.1",
123 "jest": "^26.0.1",
124 "prettier": "2.2.1",
125 "react": "^16.13.0",
126 "react-dom": "^16.13.1",
127 "react-error-boundary": "^2.2.2",
128 "replace": "^1.2.0",
129 "rimraf": "^3.0.2",
130 "rollup": "^2.16.1",
131 "rollup-plugin-babel": "^4.4.0",
132 "rollup-plugin-commonjs": "^10.1.0",
133 "rollup-plugin-jscc": "^1.0.0",
134 "rollup-plugin-node-resolve": "^5.2.0",
135 "rollup-plugin-peer-deps-external": "^2.2.2",
136 "rollup-plugin-prettier": "^2.1.0",
137 "rollup-plugin-size": "^0.2.2",
138 "rollup-plugin-terser": "^6.1.0",
139 "rollup-plugin-visualizer": "^4.0.4",
140 "type-fest": "^0.21.0",
141 "typescript": "^4.1.2"
142 },
143 "resolutions": {
144 "@types/react": "^16.9.41",
145 "@types/react-dom": "^16.9.8"
146 },
147 "release": {
148 "branches": ["main"]
149 },
150 "bundlewatch": {
151 "files": [
152 {
153 "path": "dist/*.production.min.js"
154 }
155 ]
156 }
157}