{
  "name": "@mittwald/react-use-promise",
  "version": "4.3.0",
  "packageManager": "pnpm@10.17.1",
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
  "contributors": [
    "Marco Falkenberg <m.falkenberg@mittwald.de>"
  ],
  "type": "module",
  "description": "Simple and declarative use of Promises in your React components. Observe their state and refresh them in various advanced ways.",
  "keywords": [
    "async",
    "axios",
    "cache",
    "fetch",
    "hooks",
    "http",
    "load",
    "react",
    "react-suspense",
    "suspense"
  ],
  "homepage": "https://github.com/mittwald/react-use-promise#readme",
  "repository": "github:mittwald/react-use-promise",
  "license": "MIT",
  "exports": {
    ".": {
      "types": "./dist/types/index.d.ts",
      "import": "./dist/esm/index.js"
    },
    "./http": {
      "types": "./dist/types/http/index.d.ts",
      "import": "./dist/esm/http/index.js"
    },
    "./store": {
      "types": "./dist/types/store/index.d.ts",
      "import": "./dist/esm/store/index.js"
    },
    "./package.json": "./package.json"
  },
  "types": "./dist/types/index.d.ts",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "pnpm build:clean && pnpm tsc",
    "build:clean": "rimraf dist",
    "format": "prettier --write '**/*.{ts,tsx,yaml,yml,json,md,mdx}'",
    "license-check": "license-checker-rseidelsohn $*",
    "test": "pnpm test:tsc && pnpm test:lint && pnpm test:build && pnpm test:vitest && pnpm test:licenses",
    "test:build": "pnpm build",
    "test:licenses": "pnpm license-check --unknown --failOn 'UNLICENSED;UNKNOWN'",
    "test:lint": "eslint . --cache",
    "test:tsc": "tsc --noEmit",
    "test:vitest": "vitest run"
  },
  "dependencies": {
    "@types/luxon": "3.7.1",
    "browser-or-node": "^3.0.0",
    "context": "^3.1.0",
    "luxon": "~3.7.2",
    "minimatch": "^10.2.6",
    "object-code": "^1.3.4"
  },
  "devDependencies": {
    "@eslint/eslintrc": "^3.3.7",
    "@eslint/js": "^9.39.5",
    "@testing-library/dom": "^10.4.2",
    "@testing-library/react": "^16.3.3",
    "@types/react": "^19.3.0",
    "@types/react-dom": "^19.3.0",
    "@typescript-eslint/eslint-plugin": "^8.71.0",
    "@typescript-eslint/parser": "^8.71.0",
    "axios": "^1.20.0",
    "eslint": "^9.39.5",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-json": "^4.0.1",
    "eslint-plugin-prettier": "^5.5.6",
    "globals": "^16.5.0",
    "happy-dom": "^20.14.5",
    "license-checker-rseidelsohn": "^4.4.2",
    "prettier": "^3.9.9",
    "prettier-plugin-jsdoc": "^1.8.1",
    "prettier-plugin-pkgsort": "^0.2.1",
    "prettier-plugin-sort-json": "^4.2.0",
    "react": "^19.3.0",
    "react-dom": "^19.3.0",
    "react-error-boundary": "^6.1.6",
    "rimraf": "^6.1.3",
    "tsd": "^0.33.0",
    "typescript": "^5.9.3",
    "vitest": "^3.2.7"
  },
  "peerDependencies": {
    "axios": "^1.6.7",
    "react": ">=18.3"
  },
  "peerDependenciesMeta": {
    "axios": {
      "optional": true
    }
  }
}
