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