{ "name": "@reduxjs/toolkit", "version": "2.2.1", "description": "The official, opinionated, batteries-included toolset for efficient Redux development", "author": "Mark Erikson ", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/reduxjs/redux-toolkit.git" }, "keywords": [ "redux", "react", "starter", "toolkit", "reducer", "slice", "immer", "immutable", "redux-toolkit" ], "publishConfig": { "access": "public" }, "module": "dist/redux-toolkit.legacy-esm.js", "main": "dist/cjs/index.js", "types": "dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/redux-toolkit.modern.mjs", "default": "./dist/cjs/index.js" }, "./react": { "types": "./dist/react/index.d.ts", "import": "./dist/react/redux-toolkit-react.modern.mjs", "default": "./dist/react/cjs/index.js" }, "./query": { "types": "./dist/query/index.d.ts", "import": "./dist/query/rtk-query.modern.mjs", "default": "./dist/query/cjs/index.js" }, "./query/react": { "types": "./dist/query/react/index.d.ts", "import": "./dist/query/react/rtk-query-react.modern.mjs", "default": "./dist/query/react/cjs/index.js" } }, "devDependencies": { "@arethetypeswrong/cli": "^0.13.5", "@microsoft/api-extractor": "^7.13.2", "@phryneas/ts-version": "^1.0.2", "@size-limit/file": "^11.0.1", "@size-limit/webpack": "^11.0.1", "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^13.1.5", "@types/json-stringify-safe": "^5.0.0", "@types/nanoid": "^2.1.0", "@types/node": "^20.11.0", "@types/query-string": "^6.3.0", "@types/react": "^18.0.12", "@types/react-dom": "^18.0.5", "@types/yargs": "^16.0.1", "@typescript-eslint/eslint-plugin": "^6", "@typescript-eslint/parser": "^6", "axios": "^0.19.2", "console-testing-library": "0.6.1", "esbuild-extra": "^0.3.1", "eslint": "^7.25.0", "eslint-config-prettier": "^9.1.0", "eslint-config-react-app": "^7.0.1", "eslint-plugin-flowtype": "^5.7.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.23.2", "eslint-plugin-react-hooks": "^4.2.0", "fs-extra": "^9.1.0", "invariant": "^2.2.4", "jsdom": "^21.0.0", "json-stringify-safe": "^5.0.1", "msw": "^2.1.4", "node-fetch": "^3.3.2", "prettier": "^3.2.5", "query-string": "^7.0.1", "rimraf": "^3.0.2", "size-limit": "^11.0.1", "tslib": "^1.10.0", "tsup": "^7.2.0", "tsx": "^3.12.2", "typescript": "^5.3.3", "vite-tsconfig-paths": "^4.3.1", "vitest": "^1.1.3", "yargs": "^15.3.1" }, "scripts": { "clean": "rimraf dist", "run-build": "tsup", "build": "yarn clean && echo Compiling TS... && yarn tsc -p tsconfig.build.json && yarn run-build", "build-only": "yarn clean && yarn run-build", "format": "prettier --write \"(src|examples)/**/*.{ts,tsx}\" \"**/*.md\"", "format:check": "prettier --list-different \"(src|examples)/**/*.{ts,tsx}\" \"docs/*/**.md\"", "lint": "eslint src examples", "test": "vitest --run --typecheck", "test:watch": "vitest --watch", "type-tests": "yarn tsc -p tsconfig.test.json --noEmit", "prepack": "yarn build", "size": "size-limit" }, "files": [ "dist/", "src/", "query", "react" ], "dependencies": { "immer": "^10.0.3", "redux": "^5.0.1", "redux-thunk": "^3.1.0", "reselect": "^5.0.1" }, "peerDependencies": { "react": "^16.9.0 || ^17.0.0 || ^18", "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, "react-redux": { "optional": true } }, "sideEffects": false, "bugs": { "url": "https://github.com/reduxjs/redux-toolkit/issues" }, "homepage": "https://redux-toolkit.js.org" }