package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "history",
  3. "version": "4.10.1",
  4. "description": "Manage session history with JavaScript",
  5. "repository": "ReactTraining/history",
  6. "license": "MIT",
  7. "author": "Michael Jackson",
  8. "main": "index.js",
  9. "module": "esm/history.js",
  10. "unpkg": "umd/history.js",
  11. "files": [
  12. "DOMUtils.js",
  13. "ExecutionEnvironment.js",
  14. "LocationUtils.js",
  15. "PathUtils.js",
  16. "cjs",
  17. "createBrowserHistory.js",
  18. "createHashHistory.js",
  19. "createMemoryHistory.js",
  20. "createTransitionManager.js",
  21. "es",
  22. "esm",
  23. "umd",
  24. "warnAboutDeprecatedCJSRequire.js"
  25. ],
  26. "sideEffects": false,
  27. "scripts": {
  28. "build": "rollup -c",
  29. "clean": "git clean -fdX .",
  30. "lint": "eslint modules",
  31. "prepublishOnly": "yarn build",
  32. "test": "karma start --single-run"
  33. },
  34. "dependencies": {
  35. "@babel/runtime": "^7.1.2",
  36. "loose-envify": "^1.2.0",
  37. "resolve-pathname": "^3.0.0",
  38. "tiny-invariant": "^1.0.2",
  39. "tiny-warning": "^1.0.0",
  40. "value-equal": "^1.0.1"
  41. },
  42. "devDependencies": {
  43. "@babel/core": "^7.1.2",
  44. "@babel/plugin-transform-object-assign": "^7.0.0",
  45. "@babel/plugin-transform-runtime": "^7.1.0",
  46. "@babel/preset-env": "^7.1.0",
  47. "babel-core": "^7.0.0-bridge.0",
  48. "babel-eslint": "^7.0.0",
  49. "babel-loader": "^8.0.4",
  50. "babel-plugin-dev-expression": "^0.2.1",
  51. "eslint": "^3.3.0",
  52. "eslint-plugin-import": "^2.0.0",
  53. "expect": "^21.0.0",
  54. "jest-mock": "^21.0.0",
  55. "karma": "^3.1.3",
  56. "karma-browserstack-launcher": "^1.3.0",
  57. "karma-chrome-launcher": "^2.2.0",
  58. "karma-firefox-launcher": "^1.1.0",
  59. "karma-mocha": "^1.3.0",
  60. "karma-mocha-reporter": "^2.2.5",
  61. "karma-sourcemap-loader": "^0.3.7",
  62. "karma-webpack": "^3.0.5",
  63. "mocha": "^5.2.0",
  64. "rollup": "^0.66.6",
  65. "rollup-plugin-babel": "^4.0.3",
  66. "rollup-plugin-commonjs": "^9.2.0",
  67. "rollup-plugin-node-resolve": "^3.4.0",
  68. "rollup-plugin-replace": "^2.1.0",
  69. "rollup-plugin-size-snapshot": "^0.7.0",
  70. "rollup-plugin-uglify": "^6.0.0",
  71. "webpack": "^3.12.0"
  72. },
  73. "browserify": {
  74. "transform": [
  75. "loose-envify"
  76. ]
  77. },
  78. "keywords": [
  79. "history",
  80. "location"
  81. ]
  82. }