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

package.json

118 lines3.5 KB

1{
2 "name": "@tanstack/react-router",
3 "version": "1.132.19",
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:ts54": "node ../../node_modules/typescript54/lib/tsc.js -p tsconfig.legacy.json",
31 "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js -p tsconfig.legacy.json",
32 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json",
33 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js -p tsconfig.legacy.json",
34 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js -p tsconfig.legacy.json",
35 "test:types:ts59": "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": "pnpm run build:lib && pnpm run build:llm",
42 "build:lib": "vite build",
43 "build:llm": "node ../../scripts/llms-generate.mjs react-router && tsc -p ./llms/tsconfig.json"
44 },
45 "type": "module",
46 "types": "dist/esm/index.d.ts",
47 "main": "dist/cjs/index.cjs",
48 "module": "dist/esm/index.js",
49 "exports": {
50 ".": {
51 "import": {
52 "types": "./dist/esm/index.d.ts",
53 "default": "./dist/esm/index.js"
54 },
55 "require": {
56 "types": "./dist/cjs/index.d.cts",
57 "default": "./dist/cjs/index.cjs"
58 }
59 },
60 "./ssr/server": {
61 "import": {
62 "types": "./dist/esm/ssr/server.d.ts",
63 "default": "./dist/esm/ssr/server.js"
64 },
65 "require": {
66 "types": "./dist/cjs/ssr/server.d.cts",
67 "default": "./dist/cjs/ssr/server.cjs"
68 }
69 },
70 "./ssr/client": {
71 "import": {
72 "types": "./dist/esm/ssr/client.d.ts",
73 "default": "./dist/esm/ssr/client.js"
74 },
75 "require": {
76 "types": "./dist/cjs/ssr/client.d.cts",
77 "default": "./dist/cjs/ssr/client.cjs"
78 }
79 },
80 "./package.json": "./package.json",
81 "./llms": {
82 "import": {
83 "types": "./dist/llms/index.d.ts",
84 "default": "./dist/llms/index.js"
85 }
86 }
87 },
88 "sideEffects": false,
89 "files": [
90 "dist",
91 "src"
92 ],
93 "engines": {
94 "node": ">=12"
95 },
96 "dependencies": {
97 "@tanstack/history": "workspace:*",
98 "@tanstack/react-store": "^0.7.0",
99 "@tanstack/router-core": "workspace:*",
100 "isbot": "^5.1.22",
101 "tiny-invariant": "^1.3.3",
102 "tiny-warning": "^1.0.3"
103 },
104 "devDependencies": {
105 "@testing-library/jest-dom": "^6.6.3",
106 "@testing-library/react": "^16.2.0",
107 "@vitejs/plugin-react": "^4.3.4",
108 "combinate": "^1.1.11",
109 "react": "^19.0.0",
110 "react-dom": "^19.0.0",
111 "vibe-rules": "^0.2.57",
112 "zod": "^3.24.2"
113 },
114 "peerDependencies": {
115 "react": ">=18.0.0 || >=19.0.0",
116 "react-dom": ">=18.0.0 || >=19.0.0"
117 }