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

package.json

126 lines3.7 KB

1{
2 "name": "@tanstack/react-router",
3 "version": "1.170.38",
4 "description": "Modern and scalable routing for React applications",
5 "author": "Tanner Linsley",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+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:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json",
31 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js -p tsconfig.legacy.json",
32 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js -p tsconfig.legacy.json",
33 "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js -p tsconfig.legacy.json",
34 "test:types:ts60": "tsc6 -p tsconfig.legacy.json",
35 "test:types:ts70": "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 "react-server": {
50 "types": "./dist/esm/index.rsc.d.ts",
51 "default": "./dist/esm/index.rsc.js"
52 },
53 "import": {
54 "types": "./dist/esm/index.d.ts",
55 "development": "./dist/esm/index.dev.js",
56 "default": "./dist/esm/index.js"
57 },
58 "require": {
59 "types": "./dist/cjs/index.d.cts",
60 "development": "./dist/cjs/index.dev.cjs",
61 "default": "./dist/cjs/index.cjs"
62 }
63 },
64 "./ssr/server": {
65 "import": {
66 "types": "./dist/esm/ssr/server.d.ts",
67 "default": "./dist/esm/ssr/server.js"
68 },
69 "require": {
70 "types": "./dist/cjs/ssr/server.d.cts",
71 "default": "./dist/cjs/ssr/server.cjs"
72 }
73 },
74 "./ssr/client": {
75 "import": {
76 "types": "./dist/esm/ssr/client.d.ts",
77 "default": "./dist/esm/ssr/client.js"
78 },
79 "require": {
80 "types": "./dist/cjs/ssr/client.d.cts",
81 "default": "./dist/cjs/ssr/client.cjs"
82 }
83 },
84 "./package.json": "./package.json"
85 },
86 "sideEffects": false,
87 "files": [
88 "dist",
89 "src"
90 ],
91 "engines": {
92 "node": ">=20.19"
93 },
94 "dependencies": {
95 "@tanstack/history": "workspace:*",
96 "@tanstack/react-store": "^0.11.0",
97 "@tanstack/router-core": "workspace:*",
98 "isbot": "catalog:"
99 },
100 "devDependencies": {
101 "@testing-library/jest-dom": "catalog:",
102 "@testing-library/react": "catalog:",
103 "@tanstack/react-query": "catalog:",
104 "@types/node": ">=20",
105 "@vitejs/plugin-react": "catalog:",
106 "combinate": "catalog:",
107 "react": "catalog:",
108 "react-dom": "catalog:",
109 "vite": "*",
110 "zod": "catalog:",
111 "@tanstack/vite-config": "catalog:",
112 "vitest": "catalog:",
113 "jsdom": "catalog:",
114 "@eslint-react/eslint-plugin": "catalog:",
115 "eslint-plugin-react-hooks": "catalog:",
116 "@types/react": "catalog:",
117 "@types/react-dom": "catalog:",
118 "@arethetypeswrong/cli": "catalog:",
119 "publint": "catalog:",
120 "rimraf": "catalog:"
121 },
122 "peerDependencies": {
123 "react": ">=18.0.0 || >=19.0.0",
124 "react-dom": ">=18.0.0 || >=19.0.0"
125 }