package.json 1.3 KB

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