package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "react-router-dom",
  3. "version": "7.10.1",
  4. "description": "Declarative routing for React web applications",
  5. "keywords": [
  6. "react",
  7. "router",
  8. "route",
  9. "routing",
  10. "history",
  11. "link"
  12. ],
  13. "repository": {
  14. "type": "git",
  15. "url": "https://github.com/remix-run/react-router",
  16. "directory": "packages/react-router-dom"
  17. },
  18. "license": "MIT",
  19. "author": "Remix Software <hello@remix.run>",
  20. "sideEffects": false,
  21. "main": "./dist/main.js",
  22. "unpkg": "./dist/umd/react-router-dom.production.min.js",
  23. "module": "./dist/index.mjs",
  24. "types": "./dist/index.d.ts",
  25. "exports": {
  26. ".": {
  27. "node": {
  28. "types": "./dist/index.d.ts",
  29. "module-sync": "./dist/index.mjs",
  30. "default": "./dist/index.js"
  31. },
  32. "import": {
  33. "types": "./dist/index.d.mts",
  34. "default": "./dist/index.mjs"
  35. },
  36. "default": {
  37. "types": "./dist/index.d.ts",
  38. "default": "./dist/index.js"
  39. }
  40. },
  41. "./package.json": "./package.json"
  42. },
  43. "wireit": {
  44. "build": {
  45. "command": "tsup",
  46. "files": [
  47. "*.ts",
  48. "tsconfig.json",
  49. "package.json"
  50. ],
  51. "output": [
  52. "dist/**"
  53. ]
  54. }
  55. },
  56. "dependencies": {
  57. "react-router": "7.10.1"
  58. },
  59. "devDependencies": {
  60. "react": "^19.1.0",
  61. "react-dom": "^19.1.0",
  62. "tsup": "^8.3.0",
  63. "typescript": "^5.1.6",
  64. "wireit": "0.14.9"
  65. },
  66. "peerDependencies": {
  67. "react": ">=18",
  68. "react-dom": ">=18"
  69. },
  70. "files": [
  71. "dist/",
  72. "LICENSE.md",
  73. "README.md"
  74. ],
  75. "engines": {
  76. "node": ">=20.0.0"
  77. },
  78. "scripts": {
  79. "build": "wireit",
  80. "typecheck": "tsc"
  81. }
  82. }