{
  "name": "@defer/client",
  "version": "2.3.0",
  "description": "Zero infrastructure NodeJS background jobs",
  "main": "index.js",
  "module": "index.js",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/defer-run/defer.client.git"
  },
  "author": "Defer Inc <support@defer.run>",
  "license": "ISC",
  "engines": {
    "node": ">=18"
  },
  "scripts": {
    "build": "npm run clean && node utils/update-version.mjs && tsc --project tsconfig.build.json && cp package.json LICENSE README.md CHANGELOG.md dist",
    "clean": "rm -rf ./dist",
    "lint": "eslint src/**/*.ts",
    "release": "changeset publish",
    "test": "npx jest --passWithNoTests --config ./tests/jest.ts --silent --runInBand",
    "coverage": "npx jest --passWithNoTests --config ./tests/jest.ts --silent --runInBand --coverage",
    "test:dev": "npx jest --passWithNoTests --config ./tests/jest.ts --runInBand --watch"
  },
  "dependencies": {
    "parse-duration": "^1.1.0"
  },
  "devDependencies": {
    "@changesets/changelog-github": "^0.5.0",
    "@changesets/cli": "^2.27.1",
    "@types/jest": "^29.5.11",
    "@types/react": "^18.2.48",
    "@typescript-eslint/eslint-plugin": "^6.20.0",
    "eslint": "8.56.0",
    "eslint-config-prettier": "9.1.0",
    "jest": "^29.7",
    "next": "^14.1.0",
    "prettier": "^3.2.5",
    "react": "^18.2.0",
    "ts-jest": "^29.1.2",
    "ts-node": "^10.9.2",
    "typescript": "^5.3"
  },
  "typings": "index.d.ts",
  "typescript": {
    "definition": "index.d.ts"
  },
  "exports": {
    ".": {
      "require": {
        "types": "./index.d.cts",
        "default": "./index.js"
      },
      "import": {
        "types": "./index.d.ts",
        "default": "./index.js"
      },
      "default": {
        "types": "./index.d.ts",
        "default": "./index.js"
      }
    },
    "./next": {
      "require": {
        "types": "./next/index.d.cts",
        "default": "./next/index.js"
      },
      "import": {
        "types": "./next/index.d.ts",
        "default": "./next/index.js"
      },
      "default": {
        "types": "./next/index.d.ts",
        "default": "./next/index.js"
      }
    },
    "./package.json": "./package.json"
  },
  "publishConfig": {
    "directory": "dist",
    "access": "public"
  },
  "eslintConfig": {
    "root": true,
    "reportUnusedDisableDirectives": true,
    "env": {
      "node": true
    },
    "ignorePatterns": [
      "/tests/",
      "node_modules/",
      "coverage/",
      "dist/",
      "package-lock.json"
    ],
    "overrides": [
      {
        "files": "*.{js,ts,jsx,tsx,cjs,cts,mjs,mts,cjsx,ctsx,mjsx,mtsx}",
        "parser": "@typescript-eslint/parser",
        "extends": [
          "eslint:recommended",
          "plugin:@typescript-eslint/recommended",
          "prettier"
        ],
        "rules": {
          "@typescript-eslint/ban-types": 1,
          "@typescript-eslint/no-explicit-any": 0
        }
      }
    ]
  }
}
