Open History to see the last commit
1{
2 "name": "@tanstack/react-router",
3 "version": "1.97.25",
4 "description": "Modern and scalable routing for React applications",
5 "author": "Tanner Linsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/TanStack/router.git",
10 "directory": "packages/react-router"
11 },
12 "homepage": "https://tanstack.com/router",
13 "funding": {
14 "type": "github",
15 "url": "https://github.com/sponsors/tannerlinsley"
16 },
17 "keywords": [
18 "react",
19 "location",
20 "router",
21 "routing",
22 "async",
23 "async router",
24 "typescript"
25 ],
26 "scripts": {
27 "clean": "rimraf ./dist && rimraf ./coverage",
28 "test:eslint": "eslint",
29 "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
30 "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js -p tsconfig.legacy.json",
31 "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js -p tsconfig.legacy.json",
32 "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js -p tsconfig.legacy.json",
33 "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js -p tsconfig.legacy.json",
34 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json",
35 "test:types:ts57": "tsc -p tsconfig.legacy.json",
36 "test:unit": "vitest",
37 "test:unit:dev": "pnpm run test:unit --watch --hideSkippedTests",
38 "test:perf": "vitest bench",
39 "test:perf:dev": "pnpm run test:perf --watch --hideSkippedTests",
40 "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
41 "build": "vite build"
42 },
43 "type": "module",
44 "types": "dist/esm/index.d.ts",
45 "main": "dist/cjs/index.cjs",
46 "module": "dist/esm/index.js",
47 "exports": {
48 ".": {
49 "import": {
50 "types": "./dist/esm/index.d.ts",
51 "default": "./dist/esm/index.js"
52 },
53 "require": {
54 "types": "./dist/cjs/index.d.cts",
55 "default": "./dist/cjs/index.cjs"
56 }
57 },
58 "./package.json": "./package.json"
59 },
60 "sideEffects": false,
61 "files": [
62 "dist",
63 "src"
64 ],
65 "engines": {
66 "node": ">=12"
67 },
68 "dependencies": {
69 "@tanstack/history": "workspace:*",
70 "@tanstack/react-store": "^0.7.0",
71 "@tanstack/router-core": "workspace:^",
72 "jsesc": "^3.1.0",
73 "tiny-invariant": "^1.3.3",
74 "tiny-warning": "^1.0.3"
75 },
76 "devDependencies": {
77 "@testing-library/jest-dom": "^6.6.3",
78 "@testing-library/react": "^16.2.0",
79 "@types/jsesc": "^3.0.3",
80 "@vitejs/plugin-react": "^4.3.4",
81 "combinate": "^1.1.11",
82 "react": "^19.0.0",
83 "react-dom": "^19.0.0",
84 "zod": "^3.24.1"
85 },
86 "peerDependencies": {
87 "react": ">=18.0.0 || >=19.0.0",
88 "react-dom": ">=18.0.0 || >=19.0.0"
89 }
90}