Open History to see the last commit
1{
2 "private": true,
3 "name": "query",
4 "repository": "https://github.com/tanstack/query.git",
5 "scripts": {
6 "clean": "lerna run clean --stream --no-bail",
7 "install:csb": "npm install --frozen-lockfile && node ./scripts/fix-package-json.js",
8 "test": "(is-ci && npm run test:ci) || npm run test:dev",
9 "test:ci": "npm run typecheck && npm run test:format && npm run test:eslint && npm run test:jest",
10 "test:dev": "npm run typecheck && npm run test:format && npm run test:eslint && npm run test:jest:dev",
11 "test:dev:17": "REACTJS_VERSION=17 jest --watch",
12 "test:eslint": "lerna run test:eslint --stream --no-bail",
13 "test:format": "npm run prettier -- --check",
14 "test:jest": "lerna run test:codemods --stream --no-bail && jest --config ./jest.config.ts",
15 "test:jest:dev": "jest --config ./jest.config.ts --watch",
16 "test:size": "npm run build && bundlewatch",
17 "build": "rollup --config rollup.config.js && npm run typecheck && npm run build:copyTypes",
18 "build:copyTypes": "cp packages/react-query-devtools/build/lib/index.d.ts packages/react-query-devtools/build/lib/index.prod.d.ts",
19 "typecheck": "tsc -b",
20 "watch": "concurrently --kill-others \"rollup --config rollup.config.js -w\" \"npm run typecheck -- --watch\" \"npm run test\"",
21 "linkAll": "lerna exec 'npm run link' --parallel",
22 "unlinkAll": "lerna exec 'npm run unlink' --parallel",
23 "dev": "npm run watch",
24 "prettier": "prettier \"packages/*/{src/**,examples/**/src/**}.{md,js,jsx,ts,tsx,json}\"",
25 "prettier:write": "npm run prettier -- --write",
26 "visualize": "lerna exec 'open build/stats-html.html'",
27 "cipublish": "ts-node scripts/publish.ts"
28 },
29 "namespace": "@tanstack",
30 "workspaces": [
31 "./packages/query-core",
32 "./packages/query-async-storage-persister",
33 "./packages/query-broadcast-client-experimental",
34 "./packages/query-sync-storage-persister",
35 "./packages/react-query",
36 "./packages/react-query-devtools",
37 "./packages/react-query-persist-client",
38 "./examples/react/auto-refetching",
39 "./examples/react/basic",
40 "./examples/react/basic-graphql-request",
41 "./examples/react/basic-typescript",
42 "./examples/react/default-query-function",
43 "./examples/react/load-more-infinite-scroll",
44 "./examples/react/nextjs",
45 "./examples/react/offline",
46 "./examples/react/optimistic-updates-typescript",
47 "./examples/react/pagination",
48 "./examples/react/playground",
49 "./examples/react/prefetching",
50 "./examples/react/react-native",
51 "./examples/react/react-router",
52 "./examples/react/rick-morty",
53 "./examples/react/simple",
54 "./examples/react/star-wars",
55 "./examples/react/suspense"
56 ],
57 "devDependencies": {
58 "@babel/core": "^7.17.9",
59 "@babel/preset-env": "^7.16.11",
60 "@babel/preset-react": "^7.16.7",
61 "@babel/preset-typescript": "^7.16.7",
62 "@commitlint/parse": "^16.2.1",
63 "@faker-js/faker": "^6.3.1",
64 "@rollup/plugin-babel": "^5.3.1",
65 "@rollup/plugin-commonjs": "22.0.1",
66 "@rollup/plugin-node-resolve": "^13.2.1",
67 "@rollup/plugin-replace": "^4.0.0",
68 "@testing-library/jest-dom": "^5.16.4",
69 "@testing-library/react": "^13.0.0",
70 "@testing-library/react-hooks": "^7.0.2",
71 "@testing-library/react-17": "npm:@testing-library/react@12.1.4",
72 "@tsconfig/svelte": "^3.0.0",
73 "@types/jest": "^26.0.4",
74 "@types/luxon": "^2.3.1",
75 "@types/node": "^17.0.25",
76 "@types/react": "^18.0.14",
77 "@types/react-dom": "^18.0.5",
78 "@typescript-eslint/eslint-plugin": "^5.6.0",
79 "@typescript-eslint/parser": "^5.6.0",
80 "axios": "^0.26.1",
81 "babel-eslint": "^10.1.0",
82 "babel-plugin-transform-async-to-promises": "^0.8.18",
83 "bundlewatch": "^0.3.2",
84 "concurrently": "^7.1.0",
85 "current-git-branch": "^1.1.0",
86 "eslint": "7.x",
87 "eslint-config-prettier": "^6.11.0",
88 "eslint-config-react-app": "^5.2.1",
89 "eslint-config-standard": "^14.1.1",
90 "eslint-config-standard-react": "^9.2.0",
91 "eslint-import-resolver-typescript": "^2.7.1",
92 "eslint-plugin-flowtype": "5.x",
93 "eslint-plugin-import": "^2.22.1",
94 "eslint-plugin-jsx-a11y": "6.x",
95 "eslint-plugin-node": "^11.1.0",
96 "eslint-plugin-prettier": "^3.1.3",
97 "eslint-plugin-promise": "^4.2.1",
98 "eslint-plugin-react": "7.20.0",
99 "eslint-plugin-react-hooks": "^4.3.0",
100 "eslint-plugin-standard": "^4.0.1",
101 "git-log-parser": "^1.2.0",
102 "jest": "^27.5.1",
103 "lerna": "^4.0.0",
104 "luxon": "^2.3.2",
105 "prettier": "^2.6.2",
106 "react": "^18.2.0",
107 "react-17": "npm:react@^17.0.2",
108 "react-dom": "^18.2.0",
109 "react-dom-17": "npm:react-dom@^17.0.2",
110 "rollup": "^2.70.2",
111 "rollup-plugin-size": "^0.2.2",
112 "rollup-plugin-svelte": "^7.1.0",
113 "rollup-plugin-terser": "^7.0.2",
114 "rollup-plugin-visualizer": "^5.6.0",
115 "solid-js": "^1.3.15",
116 "stream-to-array": "^2.3.0",
117 "svelte": "^3.48.0",
118 "ts-node": "^10.7.0",
119 "typescript": "^4.7.4",
120 "vue": "^3.2.33"
121 },
122 "bundlewatch": {
123 "files": [
124 {
125 "path": "packages/**/build/umd/*.production.js"
126 }
127 ]
128 }
129}