package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. {
  2. "name": "react-redux",
  3. "version": "8.1.3",
  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. "types": "./es/index.d.ts",
  17. "unpkg": "dist/react-redux.js",
  18. "module": "es/index.js",
  19. "files": [
  20. "dist",
  21. "lib",
  22. "src",
  23. "es"
  24. ],
  25. "scripts": {
  26. "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --extensions \".js,.ts,.tsx\" --out-dir lib",
  27. "build:es": "babel src --extensions \".js,.ts,.tsx\" --out-dir es",
  28. "build:umd": "cross-env NODE_ENV=development rollup -c -o dist/react-redux.js",
  29. "build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/react-redux.min.js",
  30. "build:types": "tsc",
  31. "build": "yarn build:types && yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:umd:min",
  32. "clean": "rimraf lib dist es coverage",
  33. "api-types": "api-extractor run --local",
  34. "format": "prettier --write \"{src,test}/**/*.{js,ts,tsx}\" \"docs/**/*.md\"",
  35. "lint": "eslint src --ext ts,tsx,js test/utils test/components test/hooks",
  36. "prepare": "yarn clean && yarn build",
  37. "pretest": "yarn lint",
  38. "test": "jest",
  39. "type-tests": "yarn tsc -p test/typetests/tsconfig.json",
  40. "coverage": "codecov"
  41. },
  42. "peerDependencies": {
  43. "@types/react": "^16.8 || ^17.0 || ^18.0",
  44. "@types/react-dom": "^16.8 || ^17.0 || ^18.0",
  45. "react": "^16.8 || ^17.0 || ^18.0",
  46. "react-dom": "^16.8 || ^17.0 || ^18.0",
  47. "react-native": ">=0.59",
  48. "redux": "^4 || ^5.0.0-beta.0"
  49. },
  50. "peerDependenciesMeta": {
  51. "@types/react": {
  52. "optional": true
  53. },
  54. "@types/react-dom": {
  55. "optional": true
  56. },
  57. "react-dom": {
  58. "optional": true
  59. },
  60. "react-native": {
  61. "optional": true
  62. },
  63. "redux": {
  64. "optional": true
  65. }
  66. },
  67. "dependencies": {
  68. "@babel/runtime": "^7.12.1",
  69. "@types/hoist-non-react-statics": "^3.3.1",
  70. "@types/use-sync-external-store": "^0.0.3",
  71. "hoist-non-react-statics": "^3.3.2",
  72. "react-is": "^18.0.0",
  73. "use-sync-external-store": "^1.0.0"
  74. },
  75. "devDependencies": {
  76. "@babel/cli": "^7.12.1",
  77. "@babel/core": "^7.12.3",
  78. "@babel/plugin-proposal-decorators": "^7.12.1",
  79. "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
  80. "@babel/plugin-transform-react-display-name": "^7.12.1",
  81. "@babel/plugin-transform-react-jsx": "^7.12.1",
  82. "@babel/plugin-transform-runtime": "^7.12.1",
  83. "@babel/preset-env": "^7.12.1",
  84. "@babel/preset-typescript": "^7.14.5",
  85. "@microsoft/api-extractor": "^7.18.1",
  86. "@reduxjs/toolkit": "^1.9.5",
  87. "@rollup/plugin-babel": "^5.2.1",
  88. "@rollup/plugin-commonjs": "^15.1.0",
  89. "@rollup/plugin-node-resolve": "^9.0.0",
  90. "@rollup/plugin-replace": "^2.3.3",
  91. "@testing-library/jest-dom": "^5.11.5",
  92. "@testing-library/jest-native": "^3.4.3",
  93. "@testing-library/react": "13.0.0",
  94. "@testing-library/react-12": "npm:@testing-library/react@^12",
  95. "@testing-library/react-hooks": "^3.4.2",
  96. "@testing-library/react-native": "^7.1.0",
  97. "@types/object-assign": "^4.0.30",
  98. "@types/react": "^18",
  99. "@types/react-dom": "^18",
  100. "@types/react-is": "^17",
  101. "@types/react-native": "^0.67.4",
  102. "@typescript-eslint/eslint-plugin": "^4.28.0",
  103. "@typescript-eslint/parser": "^4.28.0",
  104. "babel-eslint": "^10.1.0",
  105. "babel-jest": "^26.6.1",
  106. "codecov": "^3.8.0",
  107. "cross-env": "^7.0.2",
  108. "eslint": "^7.12.0",
  109. "eslint-config-prettier": "^6.14.0",
  110. "eslint-plugin-import": "^2.22.1",
  111. "eslint-plugin-prettier": "^3.1.4",
  112. "eslint-plugin-react": "^7.21.5",
  113. "glob": "^7.1.6",
  114. "jest": "^26.6.1",
  115. "prettier": "^2.1.2",
  116. "react": "18.0.0",
  117. "react-17": "npm:react@^17",
  118. "react-dom": "18.0.0",
  119. "react-dom-17": "npm:react-dom@^17",
  120. "react-native": "^0.64.1",
  121. "react-test-renderer": "18.0.0",
  122. "react-test-renderer-17": "npm:react-test-renderer@^17",
  123. "redux": "^4.0.5",
  124. "rimraf": "^3.0.2",
  125. "rollup": "^2.32.1",
  126. "rollup-plugin-terser": "^7.0.2",
  127. "ts-jest": "26.5.6",
  128. "typescript": "^4.3.4"
  129. }
  130. }