package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. "name": "react-redux",
  3. "version": "7.2.6",
  4. "description": "Official React bindings for Redux",
  5. "keywords": [
  6. "react",
  7. "reactjs",
  8. "redux"
  9. ],
  10. "license": "MIT",
  11. "author": "Dan Abramov <dan.abramov@me.com> (https://github.com/gaearon)",
  12. "homepage": "https://github.com/reduxjs/react-redux",
  13. "repository": "github:reduxjs/react-redux",
  14. "bugs": "https://github.com/reduxjs/react-redux/issues",
  15. "main": "./lib/index.js",
  16. "unpkg": "dist/react-redux.js",
  17. "module": "es/index.js",
  18. "files": [
  19. "dist",
  20. "lib",
  21. "src",
  22. "es"
  23. ],
  24. "scripts": {
  25. "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
  26. "build:es": "babel src --out-dir es",
  27. "build:umd": "cross-env NODE_ENV=development rollup -c -o dist/react-redux.js",
  28. "build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/react-redux.min.js",
  29. "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
  30. "clean": "rimraf lib dist es coverage",
  31. "format": "prettier --write \"{src,test}/**/*.{js,ts}\" \"docs/**/*.md\"",
  32. "lint": "eslint src test/utils test/components test/hooks",
  33. "prepare": "npm run clean && npm run build",
  34. "pretest": "npm run lint",
  35. "test": "jest",
  36. "coverage": "codecov"
  37. },
  38. "peerDependencies": {
  39. "react": "^16.8.3 || ^17"
  40. },
  41. "peerDependenciesMeta": {
  42. "react-dom": {
  43. "optional": true
  44. },
  45. "react-native": {
  46. "optional": true
  47. }
  48. },
  49. "dependencies": {
  50. "@babel/runtime": "^7.15.4",
  51. "@types/react-redux": "^7.1.20",
  52. "hoist-non-react-statics": "^3.3.2",
  53. "loose-envify": "^1.4.0",
  54. "prop-types": "^15.7.2",
  55. "react-is": "^17.0.2"
  56. },
  57. "devDependencies": {
  58. "@babel/cli": "^7.15.7",
  59. "@babel/core": "^7.15.8",
  60. "@babel/plugin-proposal-decorators": "^7.15.8",
  61. "@babel/plugin-proposal-object-rest-spread": "^7.15.6",
  62. "@babel/plugin-transform-react-display-name": "^7.15.1",
  63. "@babel/plugin-transform-react-jsx": "^7.14.9",
  64. "@babel/plugin-transform-runtime": "^7.15.8",
  65. "@babel/preset-env": "^7.15.8",
  66. "@rollup/plugin-babel": "^5.3.0",
  67. "@rollup/plugin-commonjs": "^21.0.1",
  68. "@rollup/plugin-node-resolve": "^13.0.6",
  69. "@rollup/plugin-replace": "^3.0.0",
  70. "@testing-library/jest-dom": "^5.14.1",
  71. "@testing-library/jest-native": "^4.0.2",
  72. "@testing-library/react": "^12.1.2",
  73. "@testing-library/react-hooks": "^7.0.2",
  74. "@testing-library/react-native": "^8.0.0",
  75. "babel-eslint": "^10.1.0",
  76. "babel-jest": "^27.3.1",
  77. "codecov": "^3.8.3",
  78. "create-react-class": "^15.7.0",
  79. "cross-env": "^7.0.3",
  80. "es3ify": "^0.2.2",
  81. "eslint": "^7.32.0",
  82. "eslint-config-prettier": "^8.3.0",
  83. "eslint-plugin-import": "^2.25.2",
  84. "eslint-plugin-react": "^7.26.1",
  85. "glob": "^7.2.0",
  86. "jest": "^27.3.1",
  87. "prettier": "^2.4.1",
  88. "react": "^17.0.2",
  89. "react-dom": "^17.0.2",
  90. "react-native": "^0.66.1",
  91. "react-test-renderer": "^17.0.2",
  92. "redux": "^4.1.1",
  93. "rimraf": "^3.0.2",
  94. "rollup": "^2.58.3",
  95. "rollup-plugin-terser": "^7.0.2"
  96. },
  97. "browserify": {
  98. "transform": [
  99. "loose-envify"
  100. ]
  101. }
  102. }