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

package.json

121 lines5.2 KB

1{
2 "name": "root",
3 "private": true,
4 "repository": {
5 "type": "git",
6 "url": "https://github.com/TanStack/router.git"
7 },
8 "packageManager": "pnpm@10.13.1",
9 "type": "module",
10 "scripts": {
11 "cleanNodeModules": "pnpm -r exec rm -rf node_modules",
12 "clean": "pnpm --filter \"./packages/**\" run clean",
13 "preinstall": "node -e \"if(process.env.CI == 'true') {console.info('Skipping preinstall...')} else {process.exit(1)}\" || npx -y only-allow pnpm",
14 "test": "pnpm run test:ci",
15 "test:pr": "nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build",
16 "test:ci": "nx run-many --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build",
17 "test:eslint": "nx affected --target=test:eslint --exclude=examples/**,e2e/**",
18 "test:format": "pnpm run prettier --check",
19 "test:unit": "nx affected --target=test:unit --exclude=examples/**,e2e/**",
20 "test:unit:dev": "pnpm run test:unit && nx watch --all -- pnpm run test:unit",
21 "test:build": "nx affected --target=test:build --exclude=examples/**",
22 "test:types": "nx affected --target=test:types --exclude=examples/**",
23 "test:e2e": "nx run-many --target=test:e2e",
24 "build": "nx affected --target=build --exclude=e2e/** --exclude=examples/**",
25 "build:all": "nx run-many --target=build --exclude=examples/** --exclude=e2e/**",
26 "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all",
27 "dev": "pnpm run watch",
28 "prettier": "prettier --experimental-cli --ignore-unknown '**/*'",
29 "prettier:write": "pnpm run prettier --write",
30 "cipublish": "node scripts/publish.js",
31 "gpt-generate": "node gpt/generate.js",
32 "set-ts-version": "node scripts/set-ts-version.js",
33 "labeler-generate": "node scripts/generate-labeler-config.mjs",
34 "cleanup-empty-packages": "node scripts/cleanup-empty-packages.mjs",
35 "verify-links": "node scripts/verify-links.ts"
36 },
37 "devDependencies": {
38 "@arethetypeswrong/cli": "^0.17.3",
39 "@eslint-react/eslint-plugin": "^1.26.2",
40 "@playwright/test": "^1.52.0",
41 "@tanstack/config": "0.22.0",
42 "@tanstack/react-query": "5.66.0",
43 "@tanstack/query-core": "5.66.0",
44 "@types/node": "22.10.2",
45 "@types/react": "^19.0.8",
46 "@types/react-dom": "^19.0.3",
47 "@vitest/browser": "^3.0.6",
48 "@vitest/ui": "^3.0.6",
49 "eslint": "^9.22.0",
50 "eslint-plugin-react-hooks": "^5.1.0",
51 "eslint-plugin-unused-imports": "^4.1.4",
52 "fast-glob": "^3.3.3",
53 "jsdom": "^25.0.1",
54 "markdown-link-extractor": "^4.0.2",
55 "nx": "21.3.7",
56 "prettier": "^3.6.2",
57 "publint": "^0.3.12",
58 "react": "^19.0.0",
59 "react-dom": "^19.0.0",
60 "redaxios": "^0.5.1",
61 "rimraf": "^6.0.1",
62 "tinyglobby": "^0.2.12",
63 "typescript": "^5.9.0",
64 "typescript54": "npm:typescript@5.4",
65 "typescript55": "npm:typescript@5.5",
66 "typescript56": "npm:typescript@5.6",
67 "typescript57": "npm:typescript@5.7",
68 "typescript58": "npm:typescript@5.8",
69 "vite": "^7.1.7",
70 "vitest": "^3.2.4"
71 },
72 "pnpm": {
73 "overrides": {
74 "vite-plugin-dts": "4.0.3",
75 "react": "$react",
76 "react-dom": "$react-dom",
77 "@types/react": "$@types/react",
78 "@types/react-dom": "$@types/react-dom",
79 "eslint": "$eslint",
80 "vite": "$vite",
81 "@types/node": "$@types/node",
82 "@playwright/test": "$@playwright/test",
83 "@tanstack/react-query": "$@tanstack/react-query",
84 "@tanstack/query-core": "$@tanstack/query-core",
85 "@tanstack/history": "workspace:*",
86 "@tanstack/router-core": "workspace:*",
87 "@tanstack/react-router": "workspace:*",
88 "@tanstack/router-cli": "workspace:*",
89 "@tanstack/router-devtools": "workspace:*",
90 "@tanstack/router-devtools-core": "workspace:^",
91 "@tanstack/react-router-devtools": "workspace:^",
92 "@tanstack/solid-router-devtools": "workspace:^",
93 "@tanstack/router-generator": "workspace:*",
94 "@tanstack/virtual-file-routes": "workspace:*",
95 "@tanstack/router-plugin": "workspace:*",
96 "@tanstack/router-vite-plugin": "workspace:*",
97 "@tanstack/router-ssr-query-core": "workspace:*",
98 "@tanstack/react-router-ssr-query": "workspace:*",
99 "@tanstack/solid-router-ssr-query": "workspace:*",
100 "@tanstack/zod-adapter": "workspace:*",
101 "@tanstack/valibot-adapter": "workspace:*",
102 "@tanstack/arktype-adapter": "workspace:*",
103 "@tanstack/react-start": "workspace:*",
104 "@tanstack/react-start-client": "workspace:*",
105 "@tanstack/react-start-server": "workspace:*",
106 "@tanstack/solid-start": "workspace:*",
107 "@tanstack/solid-start-client": "workspace:*",
108 "@tanstack/solid-start-server": "workspace:*",
109 "@tanstack/start-plugin-core": "workspace:*",
110 "@tanstack/start-client-core": "workspace:*",
111 "@tanstack/start-server-core": "workspace:*",
112 "@tanstack/start-storage-context": "workspace:*",
113 "@tanstack/eslint-plugin-router": "workspace:*",
114 "@tanstack/server-functions-plugin": "workspace:*",
115 "@tanstack/directive-functions-plugin": "workspace:*",
116 "@tanstack/router-utils": "workspace:*",
117 "@tanstack/start-static-server-functions": "workspace:*",
118 "@tanstack/nitro-v2-vite-plugin": "workspace:*"
119 }
120 }