Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

package.json

127 lines4.8 KB

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