Open History to see the last commit
1{
2 "name": "query",
3 "repository": "https://github.com/tanstack/query.git",
4 "scripts": {
5 "preinstall": "if [ \"$CI\" = \"true\" ]; then echo \"Skipping preinstall...\"; else npx -y only-allow pnpm; fi",
6 "install:csb": "pnpm install --frozen-lockfile",
7 "test": "(is-ci && pnpm run test:ci) || pnpm run test:dev",
8 "test:ci": "pnpm run typecheck && pnpm run test:format && pnpm run test:eslint && pnpm run test:jest",
9 "test:dev": "pnpm run typecheck && pnpm run test:format && pnpm run test:eslint && pnpm run test:jest:dev",
10 "test:dev:17": "REACTJS_VERSION=17 jest --watch",
11 "test:eslint": "pnpm --filter \"./packages/**\" --parallel --no-bail run test:eslint",
12 "test:format": "prettier \"packages/*/{src/**,examples/**/src/**}.{md,js,jsx,ts,tsx,json}\" --check",
13 "test:jest": "pnpm --filter \"./packages/**\" --parallel --no-bail run test:codemods && jest --config ./jest.config.ts",
14 "test:jest:dev": "jest --config ./jest.config.ts --watch",
15 "test:size": "pnpm run build && bundlewatch",
16 "build": "rollup --config rollup.config.js && pnpm run typecheck && pnpm run build:copyTypes",
17 "build:copyTypes": "cp packages/react-query-devtools/build/lib/index.d.ts packages/react-query-devtools/build/lib/index.prod.d.ts",
18 "typecheck": "tsc -b",
19 "watch": "concurrently --kill-others \"rollup --config rollup.config.js -w\" \"pnpm run typecheck -- --watch\" \"pnpm run test\"",
20 "dev": "pnpm run watch",
21 "prettier": "prettier \"packages/*/{src/**,examples/**/src/**}.{md,js,jsx,ts,tsx,json}\"",
22 "prettier:write": "pnpm run prettier -- --write",
23 "cipublish": "ts-node scripts/publish.ts"
24 },
25 "namespace": "@tanstack",
26 "devDependencies": {
27 "@babel/core": "^7.17.9",
28 "@babel/preset-env": "^7.16.11",
29 "@babel/preset-react": "^7.16.7",
30 "@babel/preset-typescript": "^7.16.7",
31 "@commitlint/parse": "^16.2.1",
32 "@faker-js/faker": "^6.3.1",
33 "@rollup/plugin-babel": "^5.3.1",
34 "@rollup/plugin-commonjs": "22.0.1",
35 "@rollup/plugin-node-resolve": "^13.2.1",
36 "@rollup/plugin-replace": "^4.0.0",
37 "@testing-library/jest-dom": "^5.16.4",
38 "@testing-library/react": "^13.0.0",
39 "@testing-library/react-17": "npm:@testing-library/react@12.1.4",
40 "@testing-library/react-hooks": "^7.0.2",
41 "@tsconfig/svelte": "^3.0.0",
42 "@types/jest": "^26.0.4",
43 "@types/luxon": "^2.3.1",
44 "@types/node": "^17.0.25",
45 "@types/react": "^18.0.14",
46 "@types/react-dom": "^18.0.5",
47 "@types/testing-library__jest-dom": "^5.14.5",
48 "@typescript-eslint/eslint-plugin": "^5.6.0",
49 "@typescript-eslint/parser": "^5.6.0",
50 "axios": "^0.26.1",
51 "babel-eslint": "^10.1.0",
52 "babel-jest": "^27.5.1",
53 "babel-plugin-transform-async-to-promises": "^0.8.18",
54 "babel-preset-solid": "^1.5.4",
55 "bundlewatch": "^0.3.2",
56 "concurrently": "^7.1.0",
57 "current-git-branch": "^1.1.0",
58 "eslint": "7.x",
59 "eslint-config-prettier": "^6.11.0",
60 "eslint-config-react-app": "^5.2.1",
61 "eslint-config-standard": "^14.1.1",
62 "eslint-config-standard-react": "^9.2.0",
63 "eslint-import-resolver-typescript": "^2.7.1",
64 "eslint-plugin-flowtype": "5.x",
65 "eslint-plugin-import": "^2.22.1",
66 "eslint-plugin-jsx-a11y": "6.x",
67 "eslint-plugin-node": "^11.1.0",
68 "eslint-plugin-prettier": "^3.1.3",
69 "eslint-plugin-promise": "^4.2.1",
70 "eslint-plugin-react": "7.20.0",
71 "eslint-plugin-react-hooks": "^4.3.0",
72 "eslint-plugin-standard": "^4.0.1",
73 "git-log-parser": "^1.2.0",
74 "jest": "^27.5.1",
75 "jsonfile": "^6.1.0",
76 "luxon": "^2.3.2",
77 "prettier": "^2.6.2",
78 "react": "^18.2.0",
79 "react-17": "npm:react@^17.0.2",
80 "react-dom": "^18.2.0",
81 "react-dom-17": "npm:react-dom@^17.0.2",
82 "rollup": "^2.70.2",
83 "rollup-plugin-size": "^0.2.2",
84 "rollup-plugin-svelte": "^7.1.0",
85 "rollup-plugin-terser": "^7.0.2",
86 "rollup-plugin-visualizer": "^5.6.0",
87 "solid-jest": "^0.2.0",
88 "solid-js": "^1.5.7",
89 "solid-testing-library": "^0.3.0",
90 "stream-to-array": "^2.3.0",
91 "svelte": "^3.48.0",
92 "ts-node": "^10.7.0",
93 "typescript": "^4.7.4",
94 "vue": "^3.2.33"
95 },
96 "bundlewatch": {
97 "files": [
98 {
99 "path": "packages/*/build/umd/*.production.js"
100 }
101 ]
102 }
103}