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/reactjs/index.js",
20 "es/reactjs/setBatchUpdatesFn.js",
21 "lib/index.js",
22 "lib/reactjs/index.js",
23 "lib/reactjs/setBatchUpdatesFn.js"
24 ],
25 "scripts": {
26 "test": "is-ci \"test:ci\" \"test:dev\"",
27 "test:dev": "npm run test:types && npm run test:format && npm run test:eslint && npm run test:codemod && jest --watch",
28 "test:dev:17": "npm run test:types && npm run test:format && npm run test:eslint && npm run test:codemod && REACTJS_VERSION=17 jest --watch",
29 "test:ci": "npm run test:types && npm run test:format && npm run test:eslint && npm run test:codemod && jest",
30 "test:coverage": "yarn test:ci; open coverage/lcov-report/index.html",
31 "test:format": "yarn prettier --check",
32 "test:types": "tsc",
33 "test:eslint": "eslint --ext .ts,.tsx ./src",
34 "test:size": "yarn build:umd && bundlewatch",
35 "test:codemod": "jest --config codemods/jest.config.js",
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",
59 "createWebStoragePersister",
60 "createAsyncStoragePersister",
61 "broadcastQueryClient-experimental",
62 "lib",
63 "reactjs",
64 "scripts",
65 "types",
66 "codemods",
67 "!codemods/jest.config.js",
68 "!codemods/**/__testfixtures__",
69 "!codemods/**/__tests__"
70 ],
71 "dependencies": {
72 "@babel/runtime": "^7.5.5",
73 "@types/use-sync-external-store": "^0.0.3",
74 "broadcast-channel": "^3.4.1",
75 "match-sorter": "^6.0.2",
76 "use-sync-external-store": "^1.0.0"
77 },
78 "peerDependencies": {
79 "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
80 },
81 "peerDependenciesMeta": {
82 "react-dom": {
83 "optional": true
84 },
85 "react-native": {
86 "optional": true
87 }
88 },
89 "devDependencies": {
90 "@babel/cli": "^7.17.6",
91 "@babel/core": "^7.17.5",
92 "@babel/plugin-transform-runtime": "^7.17.0",
93 "@babel/preset-env": "^7.16.11",
94 "@babel/preset-react": "^7.16.7",
95 "@babel/preset-typescript": "^7.16.7",
96 "@rollup/plugin-replace": "^3.0.0",
97 "@svgr/rollup": "^6.1.1",
98 "@testing-library/react": "^13.0.0",
99 "@testing-library/react-17": "npm:@testing-library/react@^12.1.4",
100 "@testing-library/jest-dom": "^5.14.1",
101 "@types/jest": "^26.0.4",
102 "@types/jscodeshift": "^0.11.3",
103 "@types/node": "^16.11.10",
104 "@types/react": "^18.0.0",
105 "@types/react-dom": "^18.0.0",
106 "@typescript-eslint/eslint-plugin": "^5.6.0",
107 "@typescript-eslint/parser": "^5.6.0",
108 "babel-eslint": "^10.1.0",
109 "babel-jest": "^26.0.1",
110 "bundlewatch": "^0.3.2",
111 "cross-env": "^7.0.2",
112 "eslint": "7.x",
113 "eslint-config-prettier": "^6.11.0",
114 "eslint-config-react-app": "^5.2.1",
115 "eslint-config-standard": "^14.1.1",
116 "eslint-config-standard-react": "^9.2.0",
117 "eslint-plugin-flowtype": "5.x",
118 "eslint-plugin-import": "^2.22.1",
119 "eslint-plugin-jsx-a11y": "6.x",
120 "eslint-plugin-node": "^11.1.0",
121 "eslint-plugin-prettier": "^3.1.3",
122 "eslint-plugin-promise": "^4.2.1",
123 "eslint-plugin-react": "7.20.0",
124 "eslint-plugin-react-hooks": "^4.3.0",
125 "eslint-plugin-standard": "^4.0.1",
126 "is-ci-cli": "^2.1.1",
127 "jest": "^26.0.1",
128 "jscodeshift": "^0.13.1",
129 "prettier": "2.2.1",
130 "react": "^18.0.0",
131 "react-17": "npm:react@^17.0.2",
132 "react-dom": "^18.0.0",
133 "react-dom-17": "npm:react-dom@^17.0.2",
134 "react-error-boundary": "^3.1.4",
135 "replace": "^1.2.0",
136 "rimraf": "^3.0.2",
137 "rollup": "^2.68.0",
138 "rollup-plugin-babel": "^4.4.0",
139 "rollup-plugin-commonjs": "^10.1.0",
140 "rollup-plugin-jscc": "^2.0.0",
141 "rollup-plugin-node-resolve": "^5.2.0",
142 "rollup-plugin-peer-deps-external": "^2.2.4",
143 "rollup-plugin-prettier": "^2.2.2",
144 "rollup-plugin-size": "^0.2.2",
145 "rollup-plugin-terser": "^7.0.2",
146 "rollup-plugin-visualizer": "^5.6.0",
147 "type-fest": "^0.21.0",
148 "typescript": "4.5.3"
149 },
150 "resolutions": {
151 "@types/react": "^16.9.41",
152 "@types/react-dom": "^16.9.8"
153 },
154 "bundlewatch": {
155 "files": [
156 {
157 "path": "dist/*.production.min.js"
158 }
159 ]
160 }
161}