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

package.json

101 lines3.0 KB

1{
2 "name": "@tanstack/router-generator",
3 "version": "1.167.40",
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-generator"
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:eslint": "eslint ./src",
30 "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
31 "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json",
32 "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js -p tsconfig.legacy.json",
33 "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js -p tsconfig.legacy.json",
34 "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js -p tsconfig.legacy.json",
35 "test:types:ts60": "tsc6 -p tsconfig.legacy.json",
36 "test:types:ts70": "tsc -p tsconfig.legacy.json",
37 "test:unit": "vitest --typecheck false && vitest run --typecheck.only",
38 "test:unit:dev": "pnpm run test:unit --watch --hideSkippedTests",
39 "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
40 "build": "vite build"
41 },
42 "type": "module",
43 "types": "dist/esm/index.d.ts",
44 "main": "dist/cjs/index.cjs",
45 "module": "dist/esm/index.js",
46 "exports": {
47 ".": {
48 "import": {
49 "types": "./dist/esm/index.d.ts",
50 "default": "./dist/esm/index.js"
51 },
52 "require": {
53 "types": "./dist/cjs/index.d.cts",
54 "default": "./dist/cjs/index.cjs"
55 }
56 },
57 "./package.json": "./package.json"
58 },
59 "sideEffects": false,
60 "files": [
61 "dist",
62 "src"
63 ],
64 "engines": {
65 "node": ">=20.19"
66 },
67 "dependencies": {
68 "@tanstack/router-core": "workspace:*",
69 "@tanstack/router-utils": "workspace:*",
70 "@tanstack/virtual-file-routes": "workspace:*",
71 "jiti": "^2.7.0",
72 "magic-string": "^0.30.21",
73 "prettier": "^3.9.6",
74 "zod": "catalog:",
75 "@yuku-toolchain/types": "0.18.0",
76 "yuku-ast": "0.18.0"
77 },
78 "devDependencies": {
79 "@tanstack/react-router": "workspace:*",
80 "@types/node": ">=20",
81 "@types/react": "catalog:",
82 "react": "catalog:",
83 "vite": "catalog:",
84 "@tanstack/vite-config": "catalog:",
85 "vitest": "catalog:",
86 "@arethetypeswrong/cli": "catalog:",
87 "publint": "catalog:",
88 "rimraf": "catalog:"
89 },
90 "nx": {
91 "targets": {
92 "test:unit": {
93 "outputs": [
94 "...",
95 "{projectRoot}/tests/generator/*/routeTree.gen.{ts,js}",
96 "{projectRoot}/tests/generator/file-modification/routes/*/*.tsx"
97 ]
98 }
99 }
100 }