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

package.json

86 lines3.2 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "https://github.com/TanStack/query.git"
7 },
8 "packageManager": "pnpm@10.7.0",
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...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
13 "test": "pnpm run test:ci",
14 "test:pr": "nx affected --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
15 "test:ci": "nx run-many --targets=test:sherif,test:knip,test:eslint,test:lib,test:types,test:build,build",
16 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**",
17 "test:format": "pnpm run prettier --check",
18 "test:sherif": "sherif -i typescript -p \"./integrations/*\" -p \"./examples/*\"",
19 "test:lib": "nx affected --target=test:lib --exclude=examples/**",
20 "test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
21 "test:build": "nx affected --target=test:build --exclude=examples/**",
22 "test:types": "nx affected --target=test:types --exclude=examples/**",
23 "test:knip": "knip",
24 "build": "nx affected --target=build --exclude=examples/** --exclude=integrations/**",
25 "build:all": "nx run-many --target=build --exclude=examples/** --exclude=integrations/**",
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 "docs:generate": "node scripts/generateDocs.js",
31 "cipublish": "node scripts/publish.js"
32 },
33 "nx": {
34 "includedScripts": [
35 "test:sherif",
36 "test:knip"
37 ]
38 },
39 "devDependencies": {
40 "@arethetypeswrong/cli": "^0.15.3",
41 "@cspell/eslint-plugin": "^8.17.1",
42 "@eslint-react/eslint-plugin": "^1.19.0",
43 "@tanstack/config": "^0.14.2",
44 "@testing-library/jest-dom": "^6.6.3",
45 "@types/eslint": "^9.6.1",
46 "@types/node": "^22.9.3",
47 "@types/react": "^19.0.1",
48 "@types/react-dom": "^19.0.2",
49 "@vitest/coverage-istanbul": "^2.1.9",
50 "@vitest/eslint-plugin": "^1.1.36",
51 "cpy-cli": "^5.0.0",
52 "esbuild-plugin-file-path-extensions": "^2.1.2",
53 "eslint": "^9.15.0",
54 "eslint-plugin-react-hooks": "^5.1.0",
55 "jsdom": "^25.0.1",
56 "knip": "^5.40.0",
57 "nx": "20.1.3",
58 "premove": "^4.0.0",
59 "prettier": "^3.4.2",
60 "prettier-plugin-svelte": "^3.3.2",
61 "publint": "^0.2.12",
62 "react": "^19.0.0",
63 "react-dom": "^19.0.0",
64 "sherif": "^1.0.0",
65 "tsup": "8.0.2",
66 "typescript": "5.8.2",
67 "typescript50": "npm:typescript@5.0",
68 "typescript51": "npm:typescript@5.1",
69 "typescript52": "npm:typescript@5.2",
70 "typescript53": "npm:typescript@5.3",
71 "typescript54": "npm:typescript@5.4",
72 "typescript55": "npm:typescript@5.5",
73 "typescript56": "npm:typescript@5.6",
74 "typescript57": "npm:typescript@5.7",
75 "vite": "^5.3.5",
76 "vite-tsconfig-paths": "^5.1.4",
77 "vitest": "^2.1.9"
78 },
79 "pnpm": {
80 "overrides": {
81 "@types/react": "^19.0.1",
82 "@types/react-dom": "^19.0.2",
83 "eslint": "$eslint"
84 }
85 }