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

package.json

85 lines3.1 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "git+https://github.com/TanStack/query.git"
7 },
8 "packageManager": "pnpm@12.4.2",
9 "engines": {
10 "pnpm": ">=12.4.2"
11 },
12 "type": "module",
13 "scripts": {
14 "clean": "pnpm --filter \"./packages/**\" run clean",
15 "test": "pnpm run test:ci",
16 "test:pr": "nx affected --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
17 "test:ci": "nx run-many --targets=test:sherif,test:knip,test:docs,test:eslint,test:lib,test:types,test:build,build",
18 "test:eslint": "nx affected --target=test:eslint",
19 "test:sherif": "sherif -i typescript -p \"./integrations/*\" -p \"./examples/*\"",
20 "test:size": "size-limit",
21 "test:lib": "nx affected --target=test:lib --exclude=examples/**",
22 "test:lib:dev": "pnpm run test:lib && nx watch --all -- pnpm run test:lib",
23 "test:build": "nx affected --target=test:build --exclude=examples/**",
24 "test:types": "nx affected --target=test:types --exclude=examples/**",
25 "test:knip": "knip && knip --strict --include unlisted --no-gitignore",
26 "test:docs": "node scripts/verify-links.ts",
27 "build": "nx affected --target=build --exclude=examples/** --exclude=integrations/**",
28 "build:all": "nx run-many --target=build --exclude=examples/** --exclude=integrations/**",
29 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
30 "dev": "pnpm run watch",
31 "format": "prettier --experimental-cli --ignore-unknown '**/*' --write",
32 "generate-docs": "tsc -b packages/query-devtools/tsconfig.json && node scripts/generate-docs.ts",
33 "changeset": "changeset",
34 "changeset:version": "changeset version && pnpm install --no-frozen-lockfile && pnpm format",
35 "changeset:publish": "changeset publish"
36 },
37 "nx": {
38 "includedScripts": [
39 "test:docs",
40 "test:knip",
41 "test:sherif",
42 "test:size"
43 ]
44 },
45 "sherif": {
46 "ignoreRule": [
47 "unordered-dependencies"
48 ]
49 },
50 "devDependencies": {
51 "@arethetypeswrong/cli": "^0.18.5",
52 "@changesets/changelog-github": "^1.0.1",
53 "@changesets/cli": "^3.0.3",
54 "@cspell/eslint-plugin": "^9.2.1",
55 "@size-limit/preset-small-lib": "^14.0.0",
56 "@tanstack/eslint-config": "0.3.2",
57 "@tanstack/typedoc-config": "0.3.1",
58 "@testing-library/jest-dom": "^6.8.0",
59 "@types/node": "^22.15.3",
60 "@vitest/coverage-istanbul": "4.1.11",
61 "@vitest/eslint-plugin": "^1.6.27",
62 "eslint": "catalog:",
63 "jsdom": "^27.0.0",
64 "knip": "6.38.0",
65 "markdown-link-extractor": "^4.0.4",
66 "npm-run-all2": "^9.0.3",
67 "nx": "23.2.1",
68 "premove": "^4.0.0",
69 "prettier": "^3.9.9",
70 "prettier-plugin-svelte": "^4.1.1",
71 "publint": "^0.3.24",
72 "sherif": "^1.13.0",
73 "size-limit": "^14.0.0",
74 "tinyglobby": "^0.2.15",
75 "tsdown": "^0.23.0",
76 "typescript": "catalog:",
77 "typescript56": "npm:typescript@5.6",
78 "typescript57": "npm:typescript@5.7",
79 "typescript58": "npm:typescript@5.8",
80 "typescript59": "npm:typescript@5.9",
81 "typescript70": "npm:typescript@7.0",
82 "vite": "^8.3.1",
83 "vitest": "^4.1.11"
84 }