package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "redux",
  3. "version": "5.0.0",
  4. "description": "Predictable state container for JavaScript apps",
  5. "license": "MIT",
  6. "homepage": "http://redux.js.org",
  7. "repository": "github:reduxjs/redux",
  8. "bugs": "https://github.com/reduxjs/redux/issues",
  9. "keywords": [
  10. "redux",
  11. "reducer",
  12. "state",
  13. "predictable",
  14. "functional",
  15. "immutable",
  16. "hot",
  17. "live",
  18. "replay",
  19. "flux",
  20. "elm"
  21. ],
  22. "authors": [
  23. "Dan Abramov <dan.abramov@me.com> (https://github.com/gaearon)",
  24. "Andrew Clark <acdlite@me.com> (https://github.com/acdlite)"
  25. ],
  26. "main": "dist/cjs/redux.cjs",
  27. "module": "dist/redux.legacy-esm.js",
  28. "types": "dist/redux.d.ts",
  29. "exports": {
  30. "./package.json": "./package.json",
  31. ".": {
  32. "types": "./dist/redux.d.ts",
  33. "import": "./dist/redux.mjs",
  34. "default": "./dist/cjs/redux.cjs"
  35. }
  36. },
  37. "files": [
  38. "dist",
  39. "src"
  40. ],
  41. "scripts": {
  42. "clean": "rimraf dist",
  43. "format": "prettier --write \"{src,test}/**/*.{js,ts}\" \"**/*.md\"",
  44. "format:check": "prettier --list-different \"{src,test}/**/*.{js,ts}\" \"**/*.md\"",
  45. "lint": "eslint --ext js,ts src test",
  46. "check-types": "tsc --noEmit && echo \"Types compiled\"",
  47. "test": "vitest --run",
  48. "test:types": "tsc -p test/typescript && echo \"Typetests passed\"",
  49. "test:watch": "vitest",
  50. "test:cov": "vitest --coverage",
  51. "test:typecheck": "tsc -p test && echo \"Types passed\"",
  52. "build": "tsup",
  53. "prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test",
  54. "prepack": "yarn build",
  55. "examples:lint": "eslint --ext js,ts examples",
  56. "examples:test": "cross-env CI=true babel-node examples/testAll.js",
  57. "tsc": "tsc"
  58. },
  59. "devDependencies": {
  60. "@babel/core": "^7.19.0",
  61. "@types/node": "^18.7.16",
  62. "@typescript-eslint/eslint-plugin": "^6",
  63. "@typescript-eslint/parser": "^6",
  64. "cross-env": "^7.0.3",
  65. "esbuild-extra": "^0.1.3",
  66. "eslint": "^8.23.0",
  67. "eslint-config-react-app": "^7.0.1",
  68. "eslint-import-resolver-typescript": "^3.5.1",
  69. "eslint-plugin-import": "^2.26.0",
  70. "eslint-plugin-react": "^7.31.8",
  71. "eslint-plugin-react-hooks": "^4.6.0",
  72. "glob": "^8.0.3",
  73. "netlify-plugin-cache": "^1.0.3",
  74. "prettier": "^2.7.1",
  75. "rimraf": "^3.0.2",
  76. "rxjs": "^7.5.6",
  77. "tsup": "7.0.0",
  78. "typescript": "5.2",
  79. "vitest": "^0.34.0"
  80. },
  81. "resolutions": {
  82. "esbuild": "0.19.7",
  83. "@typescript-eslint/eslint-plugin": "6.12.0",
  84. "@typescript-eslint/parser": "6.12.0"
  85. },
  86. "sideEffects": false
  87. }