package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name": "@reduxjs/toolkit",
  3. "version": "1.9.7",
  4. "description": "The official, opinionated, batteries-included toolset for efficient Redux development",
  5. "author": "Mark Erikson <mark@isquaredsoftware.com>",
  6. "license": "MIT",
  7. "repository": {
  8. "type": "git",
  9. "url": "git+https://github.com/reduxjs/redux-toolkit.git"
  10. },
  11. "keywords": [
  12. "redux",
  13. "react",
  14. "starter",
  15. "toolkit",
  16. "reducer",
  17. "slice",
  18. "immer",
  19. "immutable",
  20. "redux-toolkit"
  21. ],
  22. "publishConfig": {
  23. "access": "public"
  24. },
  25. "main": "dist/index.js",
  26. "module": "dist/redux-toolkit.esm.js",
  27. "unpkg": "dist/redux-toolkit.umd.min.js",
  28. "types": "dist/index.d.ts",
  29. "devDependencies": {
  30. "@microsoft/api-extractor": "^7.13.2",
  31. "@phryneas/ts-version": "^1.0.2",
  32. "@size-limit/preset-small-lib": "^4.11.0",
  33. "@testing-library/react": "^13.3.0",
  34. "@testing-library/user-event": "^13.1.5",
  35. "@types/convert-source-map": "^1.5.1",
  36. "@types/jest": "^27",
  37. "@types/json-stringify-safe": "^5.0.0",
  38. "@types/nanoid": "^2.1.0",
  39. "@types/node": "^10.14.4",
  40. "@types/query-string": "^6.3.0",
  41. "@types/react": "^18.0.12",
  42. "@types/react-dom": "^18.0.5",
  43. "@types/yargs": "^16.0.1",
  44. "@typescript-eslint/eslint-plugin": "^4.22.0",
  45. "@typescript-eslint/parser": "^4.22.0",
  46. "axios": "^0.19.2",
  47. "console-testing-library": "^0.3.1",
  48. "convert-source-map": "^1.7.0",
  49. "esbuild": "^0.11.13",
  50. "eslint": "^7.25.0",
  51. "eslint-config-prettier": "^8.3.0",
  52. "eslint-config-react-app": "^7.0.1",
  53. "eslint-plugin-flowtype": "^5.7.2",
  54. "eslint-plugin-import": "^2.22.1",
  55. "eslint-plugin-jsx-a11y": "^6.4.1",
  56. "eslint-plugin-prettier": "^3.4.0",
  57. "eslint-plugin-react": "^7.23.2",
  58. "eslint-plugin-react-hooks": "^4.2.0",
  59. "fs-extra": "^9.1.0",
  60. "invariant": "^2.2.4",
  61. "jest": "^27",
  62. "json-stringify-safe": "^5.0.1",
  63. "magic-string": "^0.25.7",
  64. "merge-source-map": "^1.1.0",
  65. "msw": "^0.40.2",
  66. "node-fetch": "^2.6.1",
  67. "prettier": "^2.2.1",
  68. "query-string": "^7.0.1",
  69. "rimraf": "^3.0.2",
  70. "rollup": "^2.47.0",
  71. "rollup-plugin-strip-code": "^0.2.6",
  72. "size-limit": "^4.11.0",
  73. "source-map": "^0.7.3",
  74. "terser": "^5.6.1",
  75. "ts-jest": "^27",
  76. "tslib": "^1.10.0",
  77. "typescript": "~4.2.4",
  78. "yargs": "^15.3.1"
  79. },
  80. "scripts": {
  81. "build-ci": "yarn rimraf dist && yarn tsc && yarn lint && node scripts/cli.js --skipExtraction",
  82. "build-prepare": "npm run build-ci",
  83. "build": "yarn rimraf dist && yarn tsc && node scripts/cli.js --local --skipExtraction",
  84. "build-only": "yarn rimraf dist && yarn tsc && node scripts/cli.js --skipExtraction",
  85. "format": "prettier --write \"(src|examples)/**/*.{ts,tsx}\" \"**/*.md\"",
  86. "format:check": "prettier --list-different \"(src|examples)/**/*.{ts,tsx}\" \"docs/*/**.md\"",
  87. "lint": "eslint src",
  88. "test": "jest --runInBand",
  89. "type-tests": "yarn tsc -p src/tests/tsconfig.typetests.json && yarn tsc -p src/query/tests/tsconfig.typetests.json",
  90. "prepack": "npm run build-prepare"
  91. },
  92. "files": [
  93. "dist/**/*.js",
  94. "dist/**/*.js.map",
  95. "dist/**/*.d.ts",
  96. "dist/**/package.json",
  97. "src/",
  98. "query"
  99. ],
  100. "dependencies": {
  101. "immer": "^9.0.21",
  102. "redux": "^4.2.1",
  103. "redux-thunk": "^2.4.2",
  104. "reselect": "^4.1.8"
  105. },
  106. "peerDependencies": {
  107. "react": "^16.9.0 || ^17.0.0 || ^18",
  108. "react-redux": "^7.2.1 || ^8.0.2"
  109. },
  110. "peerDependenciesMeta": {
  111. "react": {
  112. "optional": true
  113. },
  114. "react-redux": {
  115. "optional": true
  116. }
  117. },
  118. "sideEffects": false,
  119. "bugs": {
  120. "url": "https://github.com/reduxjs/redux-toolkit/issues"
  121. },
  122. "homepage": "https://redux-toolkit.js.org"
  123. }