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

package.json

171 lines4.5 KB

1{
2 "name": "@tanstack/router-plugin",
3 "version": "1.168.42",
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/router-plugin"
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 "clean:snapshots": "rimraf **/*snapshot* --glob",
29 "test": "pnpm test:eslint && pnpm test:types && pnpm test:build && pnpm test:unit",
30 "test:unit": "vitest",
31 "test:unit:dev": "vitest --watch",
32 "test:eslint": "eslint ./src",
33 "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
34 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
35 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js",
36 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js",
37 "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js",
38 "test:types:ts60": "tsc6",
39 "test:types:ts70": "tsc",
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 "exports": {
46 ".": {
47 "import": {
48 "types": "./dist/esm/index.d.ts",
49 "default": "./dist/esm/index.js"
50 },
51 "require": {
52 "types": "./dist/cjs/index.d.cts",
53 "default": "./dist/cjs/index.cjs"
54 }
55 },
56 "./vite": {
57 "import": {
58 "types": "./dist/esm/vite.d.ts",
59 "default": "./dist/esm/vite.js"
60 },
61 "require": {
62 "types": "./dist/cjs/vite.d.cts",
63 "default": "./dist/cjs/vite.cjs"
64 }
65 },
66 "./context": {
67 "import": {
68 "types": "./dist/esm/context.d.ts",
69 "default": "./dist/esm/context.js"
70 },
71 "require": {
72 "types": "./dist/cjs/context.d.cts",
73 "default": "./dist/cjs/context.cjs"
74 }
75 },
76 "./rspack": {
77 "import": {
78 "types": "./dist/esm/rspack.d.ts",
79 "default": "./dist/esm/rspack.js"
80 },
81 "require": {
82 "types": "./dist/cjs/rspack.d.cts",
83 "default": "./dist/cjs/rspack.cjs"
84 }
85 },
86 "./webpack": {
87 "import": {
88 "types": "./dist/esm/webpack.d.ts",
89 "default": "./dist/esm/webpack.js"
90 },
91 "require": {
92 "types": "./dist/cjs/webpack.d.cts",
93 "default": "./dist/cjs/webpack.cjs"
94 }
95 },
96 "./esbuild": {
97 "import": {
98 "types": "./dist/esm/esbuild.d.ts",
99 "default": "./dist/esm/esbuild.js"
100 },
101 "require": {
102 "types": "./dist/cjs/esbuild.d.cts",
103 "default": "./dist/cjs/esbuild.cjs"
104 }
105 },
106 "./package.json": "./package.json"
107 },
108 "sideEffects": false,
109 "files": [
110 "dist",
111 "src",
112 "skills",
113 "bin",
114 "!skills/_artifacts"
115 ],
116 "engines": {
117 "node": ">=20.19"
118 },
119 "dependencies": {
120 "@babel/core": "catalog:",
121 "@babel/template": "^7.29.7",
122 "@babel/types": "catalog:",
123 "@tanstack/router-core": "workspace:*",
124 "@tanstack/router-generator": "workspace:*",
125 "@tanstack/router-utils": "workspace:*",
126 "chokidar": "catalog:",
127 "unplugin": "^3.3.0",
128 "zod": "catalog:"
129 },
130 "devDependencies": {
131 "@rsbuild/core": "catalog:",
132 "@types/babel__core": "^7.20.5",
133 "@types/babel__template": "^7.4.4",
134 "@types/node": ">=20",
135 "@tanstack/vite-config": "catalog:",
136 "vitest": "catalog:",
137 "jsdom": "catalog:",
138 "react": "catalog:",
139 "react-dom": "catalog:",
140 "@types/react": "catalog:",
141 "@types/react-dom": "catalog:",
142 "@arethetypeswrong/cli": "catalog:",
143 "publint": "catalog:",
144 "rimraf": "catalog:",
145 "webpack": "^5.104.1"
146 },
147 "peerDependencies": {
148 "@rsbuild/core": ">=1.0.2 || ^2.0.0",
149 "@tanstack/react-router": "workspace:^",
150 "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0 || >=8.0.0",
151 "vite-plugin-solid": "^2.11.10 || ^3.0.0-0",
152 "webpack": ">=5.92.0"
153 },
154 "peerDependenciesMeta": {
155 "@rsbuild/core": {
156 "optional": true
157 },
158 "@tanstack/react-router": {
159 "optional": true
160 },
161 "vite": {
162 "optional": true
163 },
164 "vite-plugin-solid": {
165 "optional": true
166 },
167 "webpack": {
168 "optional": true
169 }
170 }