@tanstack/react-router
Version:
Modern and scalable routing for React applications
118 lines • 3.58 kB
JSON
{
"name": "@tanstack/react-router",
"version": "1.143.4",
"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/react-router"
},
"homepage": "https://tanstack.com/router",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tannerlinsley"
},
"keywords": [
"react",
"location",
"router",
"routing",
"async",
"async router",
"typescript"
],
"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"
}
},
"./ssr/server": {
"import": {
"types": "./dist/esm/ssr/server.d.ts",
"default": "./dist/esm/ssr/server.js"
},
"require": {
"types": "./dist/cjs/ssr/server.d.cts",
"default": "./dist/cjs/ssr/server.cjs"
}
},
"./ssr/client": {
"import": {
"types": "./dist/esm/ssr/client.d.ts",
"default": "./dist/esm/ssr/client.js"
},
"require": {
"types": "./dist/cjs/ssr/client.d.cts",
"default": "./dist/cjs/ssr/client.cjs"
}
},
"./package.json": "./package.json",
"./llms": {
"import": {
"types": "./dist/llms/index.d.ts",
"default": "./dist/llms/index.js"
}
}
},
"sideEffects": false,
"files": [
"dist",
"src"
],
"engines": {
"node": ">=12"
},
"dependencies": {
"@tanstack/react-store": "^0.8.0",
"isbot": "^5.1.22",
"tiny-invariant": "^1.3.3",
"tiny-warning": "^1.0.3",
"@tanstack/router-core": "1.143.4",
"@tanstack/history": "1.141.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@vitejs/plugin-react": "^4.3.4",
"combinate": "^1.1.11",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"vibe-rules": "^0.2.57",
"zod": "^3.24.2"
},
"peerDependencies": {
"react": ">=18.0.0 || >=19.0.0",
"react-dom": ">=18.0.0 || >=19.0.0"
},
"scripts": {
"clean": "rimraf ./dist && rimraf ./coverage",
"test:eslint": "eslint",
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js -p tsconfig.legacy.json",
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js -p tsconfig.legacy.json",
"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": "tsc -p tsconfig.legacy.json",
"test:unit": "vitest",
"test:unit:dev": "pnpm run test:unit --watch --hideSkippedTests",
"test:perf": "vitest bench",
"test:perf:dev": "pnpm run test:perf --watch --hideSkippedTests",
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
"build": "pnpm run build:lib && pnpm run build:llm",
"build:lib": "vite build",
"build:llm": "node ../../scripts/llms-generate.mjs react-router && tsc -p ./llms/tsconfig.json"
}
}