package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "react-router-dom",
  3. "version": "5.3.0",
  4. "description": "DOM bindings for React Router",
  5. "repository": "ReactTraining/react-router",
  6. "license": "MIT",
  7. "author": "React Training <hello@reacttraining.com>",
  8. "files": [
  9. "BrowserRouter.js",
  10. "HashRouter.js",
  11. "Link.js",
  12. "MemoryRouter.js",
  13. "NavLink.js",
  14. "Prompt.js",
  15. "Redirect.js",
  16. "Route.js",
  17. "Router.js",
  18. "StaticRouter.js",
  19. "Switch.js",
  20. "cjs",
  21. "es",
  22. "esm",
  23. "index.js",
  24. "generatePath.js",
  25. "matchPath.js",
  26. "modules/*.js",
  27. "modules/utils/*.js",
  28. "withRouter.js",
  29. "warnAboutDeprecatedCJSRequire.js",
  30. "umd"
  31. ],
  32. "main": "index.js",
  33. "module": "esm/react-router-dom.js",
  34. "sideEffects": false,
  35. "scripts": {
  36. "build": "rollup -c",
  37. "lint": "eslint modules"
  38. },
  39. "peerDependencies": {
  40. "react": ">=15"
  41. },
  42. "dependencies": {
  43. "@babel/runtime": "^7.12.13",
  44. "history": "^4.9.0",
  45. "loose-envify": "^1.3.1",
  46. "prop-types": "^15.6.2",
  47. "react-router": "5.2.1",
  48. "tiny-invariant": "^1.0.2",
  49. "tiny-warning": "^1.0.0"
  50. },
  51. "browserify": {
  52. "transform": [
  53. "loose-envify"
  54. ]
  55. },
  56. "keywords": [
  57. "react",
  58. "router",
  59. "route",
  60. "routing",
  61. "history",
  62. "link"
  63. ]
  64. }