{
  "name": "with-domain-driven-caching",
  "author": "ehmpathy",
  "description": "A wrapper that makes it simple to add caching to any function",
  "version": "1.1.4",
  "repository": "ehmpathy/with-domain-driven-caching",
  "homepage": "https://github.com/ehmpathy/with-domain-driven-caching",
  "keywords": [
    "cache",
    "wrapper",
    "functional",
    "function",
    "simple",
    "browser",
    "browser cache",
    "nodejs",
    "nodejs cache",
    "simple",
    "simple cache"
  ],
  "bugs": "https://github.com/ehmpathy/with-domain-driven-caching/issues",
  "license": "MIT",
  "main": "dist/index.js",
  "engines": {
    "node": ">=8.0.0"
  },
  "files": [
    "/dist"
  ],
  "scripts": {
    "build:ts": "tsc -p ./tsconfig.build.json",
    "commit:with-cli": "npx cz",
    "fix:format:biome": "biome check --write src",
    "fix:format": "npm run fix:format:biome",
    "fix:lint": "biome check --write src",
    "build:clean": "rm dist/ -rf",
    "build:compile": "tsc -p ./tsconfig.build.json",
    "build": "npm run build:clean && npm run build:compile",
    "test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
    "test:types": "tsc -p ./tsconfig.json --noEmit",
    "test:format": "npm run test:format:biome",
    "test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
    "test:format:biome": "biome format src",
    "test:lint:biome": "biome check src",
    "test:lint:errors": "biome check src --diagnostic-level=error",
    "test:lint": "npm run test:lint:biome && npm run test:lint:deps",
    "test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')",
    "test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')",
    "test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests",
    "test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
    "test:acceptance": "npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests",
    "prepush": "npm run test && npm run build",
    "prepublish": "npm run build",
    "preversion": "npm run prepush",
    "postversion": "git push origin HEAD --tags --no-verify",
    "prepare:husky": "npx husky install && chmod ug+x .husky/*",
    "prepare": "[ -d .git ] && npm run prepare:husky || exit 0"
  },
  "dependencies": {
    "@ehmpathy/error-fns": "1.0.2",
    "bottleneck": "^2.19.5",
    "domain-objects": "0.31.0",
    "hash-fns": "^1.0.2",
    "helpful-errors": "1.5.3",
    "simple-in-memory-cache": "^0.4.0",
    "simple-lambda-client": "^2.3.5",
    "type-fns": "1.21.0",
    "uuid": "9.0.0",
    "with-cache-normalization": "^1.0.7",
    "with-simple-cache": "^0.15.1"
  },
  "devDependencies": {
    "@biomejs/biome": "2.3.8",
    "@commitlint/cli": "19.3.0",
    "@commitlint/config-conventional": "13.1.0",
    "@swc/core": "1.15.3",
    "@swc/jest": "0.2.39",
    "@tsconfig/node20": "20.1.5",
    "@tsconfig/strictest": "2.0.5",
    "@types/jest": "30.0.0",
    "@types/node": "22.15.21",
    "@types/uuid": "9.0.0",
    "cz-conventional-changelog": "3.3.0",
    "declapract": "^0.12.3",
    "declapract-typescript-ehmpathy": "^0.43.1",
    "declastruct": "1.4.0",
    "declastruct-github": "1.0.3",
    "depcheck": "1.4.3",
    "esbuild-register": "3.6.0",
    "husky": "8.0.3",
    "jest": "30.2.0",
    "simple-on-disk-cache": "^1.3.1",
    "tsx": "4.20.6",
    "typescript": "5.4.5"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "packageManager": "pnpm@10.24.0"
}
