Open History to see the last commit
1{
2 "name": "query",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "https://github.com/TanStack/query.git"
7 },
8 "packageManager": "pnpm@8.12.1",
9 "type": "module",
10 "scripts": {
11 "clean": "pnpm --filter \"./packages/**\" run clean",
12 "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm",
13 "install:csb": "corepack enable && pnpm install --frozen-lockfile",
14 "test": "pnpm run test:ci",
15 "test:pr": "nx affected --targets=test:eslint,test:lib,test:types,test:build,build",
16 "test:ci": "nx run-many --targets=test:format,test:sherif,test:eslint,test:lib,test:types,test:build,build",
17 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
18 "test:format": "pnpm run prettier --check",
19 "test:sherif": "sherif -i react-scripts",
20 "test:lib": "nx affected --target=test:lib --exclude=examples/**",
21 "test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
22 "test:build": "nx affected --target=test:build --exclude=examples/**",
23 "test:types": "nx affected --target=test:types --exclude=examples/**",
24 "build": "nx affected --target=build --exclude=examples/**",
25 "build:all": "nx run-many --target=build --exclude=examples/**",
26 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
27 "dev": "pnpm run watch",
28 "prettier": "prettier --ignore-unknown '**/*'",
29 "prettier:write": "pnpm run prettier --write",
30 "cipublish": "node scripts/publish.js"
31 },
32 "nx": {
33 "includedScripts": [
34 "test:format",
35 "test:sherif"
36 ]
37 },
38 "namespace": "@tanstack",
39 "devDependencies": {
40 "@cspell/eslint-plugin": "^8.3.2",
41 "@solidjs/testing-library": "^0.8.5",
42 "@tanstack/config": "^0.4.2",
43 "@testing-library/jest-dom": "^6.1.5",
44 "@testing-library/react": "^14.1.2",
45 "@types/eslint": "^8.56.0",
46 "@types/node": "^18.19.3",
47 "@types/react": "^18.2.45",
48 "@types/react-dom": "^18.2.18",
49 "@typescript-eslint/eslint-plugin": "^5.62.0",
50 "@typescript-eslint/parser": "^5.62.0",
51 "@vitest/coverage-istanbul": "^1.1.0",
52 "cpy-cli": "^5.0.0",
53 "esbuild-plugin-file-path-extensions": "^2.0.0",
54 "eslint": "^8.56.0",
55 "eslint-config-prettier": "^9.1.0",
56 "eslint-import-resolver-typescript": "^3.6.1",
57 "eslint-plugin-import": "^2.29.1",
58 "eslint-plugin-react": "^7.33.2",
59 "eslint-plugin-react-hooks": "^4.6.0",
60 "jsdom": "^23.0.1",
61 "knip": "^3.3.1",
62 "nx": "^17.2.7",
63 "prettier": "^4.0.0-alpha.8",
64 "prettier-plugin-svelte": "^3.1.2",
65 "publint": "^0.2.7",
66 "react": "^18.2.0",
67 "react-dom": "^18.2.0",
68 "rimraf": "^5.0.5",
69 "sherif": "^0.7.0",
70 "solid-js": "^1.8.7",
71 "tsup": "^8.0.1",
72 "typescript": "5.2.2",
73 "vite": "^5.0.10",
74 "vitest": "^1.1.0"
75 },
76 "pnpm": {
77 "overrides": {
78 "@typescript-eslint/eslint-plugin": "$@typescript-eslint/eslint-plugin",
79 "@typescript-eslint/parser": "$@typescript-eslint/parser",
80 "eslint": "$eslint"
81 }
82 }
83}