{ "name": "@tanstack/router-generator", "version": "1.168.0", "description": "Modern and scalable routing for React applications", "author": "Tanner Linsley", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/TanStack/router.git", "directory": "packages/router-generator" }, "homepage": "https://tanstack.com/router", "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "keywords": [ "react", "location", "router", "routing", "async", "async router", "typescript" ], "scripts": { "clean": "rimraf ./dist && rimraf ./coverage", "clean:snapshots": "rimraf **/*snapshot* --glob", "test:eslint": "eslint ./src", "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"", "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json", "test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js -p tsconfig.legacy.json", "test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js -p tsconfig.legacy.json", "test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js -p tsconfig.legacy.json", "test:types:ts60": "tsc6 -p tsconfig.legacy.json", "test:types:ts70": "tsc -p tsconfig.legacy.json", "test:unit": "vitest --typecheck false && vitest run --typecheck.only", "test:unit:dev": "pnpm run test:unit --watch --hideSkippedTests", "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", "types": "dist/esm/index.d.ts", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.js", "exports": { ".": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/cjs/index.d.cts", "default": "./dist/cjs/index.cjs" } }, "./package.json": "./package.json" }, "sideEffects": false, "files": [ "dist", "src" ], "engines": { "node": "^20.19.0 || >=22.12.0" }, "dependencies": { "@babel/types": "catalog:", "@tanstack/router-core": "workspace:*", "@tanstack/router-utils": "workspace:*", "@tanstack/virtual-file-routes": "workspace:*", "jiti": "^2.7.0", "magic-string": "^0.30.21", "prettier": "^3.9.6", "zod": "catalog:" }, "devDependencies": { "@tanstack/react-router": "workspace:*", "@types/node": ">=20", "@types/react": "catalog:", "react": "catalog:", "vite": "catalog:", "@tanstack/vite-config": "catalog:", "vitest": "catalog:", "@arethetypeswrong/cli": "catalog:", "publint": "catalog:", "rimraf": "catalog:" }, "nx": { "targets": { "test:unit": { "outputs": [ "...", "{projectRoot}/tests/generator/*/routeTree.gen.{ts,js}", "{projectRoot}/tests/generator/file-modification/routes/*/*.tsx" ] } } } }