{
  "name": "history-adapter",
  "description": "A \"history adapter\" for managing undoable (and redoable) state changes.",
  "version": "2.1.1",
  "keywords": [
    "history",
    "redux",
    "undo",
    "redo",
    "immer",
    "patches",
    "state"
  ],
  "workspaces": [
    "examples/*",
    "website"
  ],
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./redux": {
      "import": "./dist/redux.js",
      "require": "./dist/redux.cjs"
    }
  },
  "files": [
    "dist",
    "redux"
  ],
  "scripts": {
    "clean": "rimraf dist",
    "prepare": "husky install",
    "run-build": "tsup",
    "build": "yarn clean && yarn type && yarn run-build",
    "build-only": "yarn clean && yarn run-build",
    "test": "vitest",
    "lint": "eslint",
    "pre-commit": "lint-staged",
    "attw": "attw",
    "publint": "publint",
    "type": "tsc",
    "prepack": "yarn build && yarn publint",
    "size": "size-limit",
    "example": "yarn workspace example-app dev",
    "website": "yarn workspace website start"
  },
  "repository": "https://github.com/EskiMojo14/history-adapter.git",
  "author": "EskiMojo14 <ben.j.durrant@gmail.com>",
  "license": "MIT",
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.13.5",
    "@reduxjs/toolkit": "https://pkg.csb.dev/reduxjs/redux-toolkit/commit/e99e0848/@reduxjs/toolkit/_pkg.tgz",
    "@size-limit/preset-small-lib": "^11.1.0",
    "@types/node": "^20.12.7",
    "@typescript-eslint/eslint-plugin": "^6.18.0",
    "@typescript-eslint/parser": "^6.18.0",
    "eslint": "^8.56.0",
    "eslint-import-resolver-typescript": "^3.6.1",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-vitest": "^0.3.20",
    "husky": "^8.0.3",
    "lint-staged": "^15.2.0",
    "mix-n-matchers": "^1.5.0",
    "prettier": "^3.1.1",
    "publint": "^0.2.7",
    "rimraf": "^5.0.5",
    "size-limit": "^11.1.0",
    "tsup": "^8.0.1",
    "typescript": "^5.3.3",
    "vitest": "^1.4.0"
  },
  "engines": {
    "node": "^14.15.0 || ^16.10.0 || >=18.0.0"
  },
  "lint-staged": {
    "*.{ts,md}": "prettier --write"
  },
  "prettier": {},
  "tsup": {
    "entry": [
      "src/index.ts",
      "src/redux.ts"
    ],
    "sourcemap": true,
    "format": [
      "esm",
      "cjs"
    ],
    "dts": true
  },
  "dependencies": {
    "immer": "^10.0.3"
  },
  "peerDependencies": {
    "@reduxjs/toolkit": "^1.9.7 || ^2"
  },
  "peerDependenciesMeta": {
    "@reduxjs/toolkit": {
      "optional": true
    }
  },
  "packageManager": "yarn@4.1.1"
}
