{ "name": "root", "private": true, "repository": { "type": "git", "url": "https://github.com/TanStack/query.git" }, "packageManager": "pnpm@9.6.0", "type": "module", "scripts": { "clean": "pnpm --filter \"./packages/**\" run clean", "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm", "test": "pnpm run test:ci", "test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build", "test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build", "test:eslint": "nx affected --target=test:eslint --exclude=examples/**", "test:format": "pnpm run prettier --check", "test:sherif": "sherif -p \"./integrations/*\" -p \"./examples/*\"", "test:lib": "nx affected --target=test:lib --exclude=examples/**", "test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib", "test:build": "nx affected --target=test:build --exclude=examples/**", "test:types": "nx affected --target=test:types --exclude=examples/**", "test:knip": "knip", "build": "nx affected --target=build --exclude=examples/** --exclude=integrations/**", "build:all": "nx run-many --target=build --exclude=examples/** --exclude=integrations/**", "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all", "dev": "pnpm run watch", "prettier": "prettier --ignore-unknown '**/*'", "prettier:write": "pnpm run prettier --write", "docs:generate": "node scripts/generateDocs.js", "cipublish": "node scripts/publish.js" }, "nx": { "includedScripts": [ "test:sherif", "test:knip" ] }, "devDependencies": { "@arethetypeswrong/cli": "^0.15.3", "@cspell/eslint-plugin": "^8.14.2", "@eslint-react/eslint-plugin": "^1.12.3", "@solidjs/testing-library": "^0.8.9", "@tanstack/config": "^0.13.1", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", "@types/eslint": "^9.6.1", "@types/node": "^20.14.10", "@types/react": "npm:types-react@rc", "@types/react-dom": "npm:types-react-dom@rc", "@vitest/coverage-istanbul": "^2.0.4", "@vitest/eslint-plugin": "^1.1.0", "cpy-cli": "^5.0.0", "esbuild-plugin-file-path-extensions": "^2.1.2", "eslint": "^9.9.1", "eslint-plugin-react-hooks": "^5.1.0-rc-a19a8ab4-20240829", "jsdom": "^25.0.0", "knip": "^5.27.0", "nx": "^19.5.3", "prettier": "^3.3.3", "prettier-plugin-svelte": "^3.2.6", "publint": "^0.2.9", "react": "19.0.0-rc-4c2e457c7c-20240522", "react-dom": "19.0.0-rc-4c2e457c7c-20240522", "rimraf": "^5.0.9", "sherif": "^0.10.0", "solid-js": "^1.8.19", "tsup": "8.0.2", "typescript": "5.3.3", "typescript47": "npm:typescript@4.7", "typescript48": "npm:typescript@4.8", "typescript49": "npm:typescript@4.9", "typescript50": "npm:typescript@5.0", "typescript51": "npm:typescript@5.1", "typescript52": "npm:typescript@5.2", "vite": "^5.3.5", "vitest": "^2.0.4" }, "pnpm": { "overrides": { "@types/react": "npm:types-react@rc", "@types/react-dom": "npm:types-react-dom@rc", "eslint": "$eslint" } } }