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

package.json

151 lines4.0 KB

1{
2 "name": "@tanstack/router-plugin",
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/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:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
35 "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
36 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
37 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js",
38 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js",
39 "test:types:ts59": "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 "./rspack": {
67 "import": {
68 "types": "./dist/esm/rspack.d.ts",
69 "default": "./dist/esm/rspack.js"
70 },
71 "require": {
72 "types": "./dist/cjs/rspack.d.cts",
73 "default": "./dist/cjs/rspack.cjs"
74 }
75 },
76 "./webpack": {
77 "import": {
78 "types": "./dist/esm/webpack.d.ts",
79 "default": "./dist/esm/webpack.js"
80 },
81 "require": {
82 "types": "./dist/cjs/webpack.d.cts",
83 "default": "./dist/cjs/webpack.cjs"
84 }
85 },
86 "./esbuild": {
87 "import": {
88 "types": "./dist/esm/esbuild.d.ts",
89 "default": "./dist/esm/esbuild.js"
90 },
91 "require": {
92 "types": "./dist/cjs/esbuild.d.cts",
93 "default": "./dist/cjs/esbuild.cjs"
94 }
95 },
96 "./package.json": "./package.json"
97 },
98 "sideEffects": false,
99 "files": [
100 "dist",
101 "src"
102 ],
103 "engines": {
104 "node": ">=12"
105 },
106 "dependencies": {
107 "@babel/core": "^7.27.7",
108 "@babel/plugin-syntax-jsx": "^7.27.1",
109 "@babel/plugin-syntax-typescript": "^7.27.1",
110 "@babel/template": "^7.27.2",
111 "@babel/traverse": "^7.27.7",
112 "@babel/types": "^7.27.7",
113 "@tanstack/router-core": "workspace:*",
114 "@tanstack/router-generator": "workspace:*",
115 "@tanstack/router-utils": "workspace:*",
116 "@tanstack/virtual-file-routes": "workspace:*",
117 "babel-dead-code-elimination": "^1.0.10",
118 "chokidar": "^3.6.0",
119 "unplugin": "^2.1.2",
120 "zod": "^3.24.2"
121 },
122 "devDependencies": {
123 "@types/babel__core": "^7.20.5",
124 "@types/babel__template": "^7.4.4",
125 "@types/babel__traverse": "^7.20.7"
126 },
127 "peerDependencies": {
128 "@rsbuild/core": ">=1.0.2",
129 "@tanstack/react-router": "workspace:^",
130 "vite": ">=5.0.0 || >=6.0.0 || >=7.0.0",
131 "vite-plugin-solid": "^2.11.8",
132 "webpack": ">=5.92.0"
133 },
134 "peerDependenciesMeta": {
135 "@rsbuild/core": {
136 "optional": true
137 },
138 "@tanstack/react-router": {
139 "optional": true
140 },
141 "vite": {
142 "optional": true
143 },
144 "vite-plugin-solid": {
145 "optional": true
146 },
147 "webpack": {
148 "optional": true
149 }
150 }