{
  "name": "@sudoplatform/sudo-email",
  "version": "30.0.0",
  "author": "Anonyome Labs, Inc.",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sudoplatform/sudo-email-js.git"
  },
  "scripts": {
    "prepare": "husky",
    "lint": "npm-run-all --parallel lint:eslint lint:prettier",
    "lint:eslint": "eslint test/ src/",
    "lint:prettier": "prettier -l \"test/**/*.{js,jsx,ts,tsx,yml}\" \"src/**/*.{js,jsx,ts,tsx,yml}\"",
    "codegen": "graphql-codegen -c graphql/codegen.ts",
    "audit-with-suppressions": "true",
    "verify": "true",
    "unit-test": "vitest run test/unit",
    "smoketest": "yarn unit-test && vitest run test/integration/smoketest",
    "integration-test": "vitest run test/integration",
    "clean": "rm -rf ./docs ./lib ./cjs ./types",
    "build": "yarn codegen && yarn lint && yarn build:transpile && yarn build:docs",
    "build:transpile": "concurrently \"yarn build:transpile:declarations\" \"yarn build:transpile:cjs\" \"yarn build:transpile:esm\"",
    "build:transpile:declarations": "tsc --project tsconfig.declarations.json",
    "build:transpile:cjs": "tsc --project tsconfig.commonjs.json",
    "build:transpile:esm": "tsc",
    "build:docs": "typedoc --readme \"${README_FILE:-$(test -f README.external.md && echo README.external.md || echo README.md)}\" --treatWarningsAsErrors --excludePrivate --out docs src/index.ts"
  },
  "main": "./cjs/index.js",
  "types": "./types/index.d.ts",
  "exports": {
    ".": {
      "types": "./types/index.d.ts",
      "import": "./lib/index.js",
      "require": "./cjs/index.js",
      "default": "./lib/index.js"
    }
  },
  "sideEffects": false,
  "files": [
    "cjs",
    "lib",
    "types",
    "docs"
  ],
  "peerDependencies": {
    "@sudoplatform/sudo-api-client": "^16.0.0",
    "@sudoplatform/sudo-common": "^12.2.0",
    "@sudoplatform/sudo-user": "^16.0.0",
    "better-sqlite3": "^11.0.0",
    "sql.js": "^1.11.0"
  },
  "peerDependenciesMeta": {
    "better-sqlite3": {
      "optional": true
    },
    "sql.js": {
      "optional": true
    }
  },
  "dependencies": {
    "@aws-sdk/client-s3": "^3.978.0",
    "@aws-sdk/credential-provider-cognito-identity": "^3.972.2",
    "@aws-sdk/credential-providers": "^3.978.0",
    "@aws-sdk/lib-storage": "^3.978.0",
    "@sudoplatform/sudo-web-crypto-provider": "^12.0.2",
    "async-mutex": "^0.5.0",
    "fflate": "^0.8.3",
    "fp-ts": "^2.16.11",
    "graphql": "^16.14.2",
    "io-ts": "^2.2.22",
    "io-ts-types": "^0.5.19",
    "letterparser": "^0.1.8",
    "lodash": "^4.18.1",
    "mimetext": "3.0.28",
    "monocle-ts": "^2.3.13",
    "newtype-ts": "^0.3.5",
    "redux": "^5.0.1",
    "tslib": "^2.8.1"
  },
  "resolutions": {
    "graphql": "^16.14.2",
    "fast-xml-parser": "5.7.0",
    "semver": "^7.5.2",
    "uuid": "^14.0.0",
    "brace-expansion@^1.1.7": "^1.1.21",
    "brace-expansion@^5.0.8": "^5.0.12",
    "undici@^7.25.0": "^7.30.1",
    "undici@^8.4.1": "^8.12.3",
    "@graphql-tools/executor-legacy-ws": "^1.1.35",
    "@graphql-tools/utils": "^12.0.2",
    "shell-quote": "^1.11.0",
    "source-map-js": "^1.2.2",
    "markdown-it": "^14.3.2"
  },
  "resolutionsComments": {
    "graphql": "Setting to ^16.14.2 to bump up version used by aws-amplify and it's dependencies"
  },
  "devDependencies": {
    "@graphql-codegen/add": "^6.0.1",
    "@graphql-codegen/cli": "^6.3.1",
    "@graphql-codegen/typed-document-node": "^6.1.8",
    "@graphql-codegen/typescript": "^5.0.10",
    "@graphql-codegen/typescript-operations": "^5.1.0",
    "@sudoplatform/sudo-api-client": "^16.2.0",
    "@sudoplatform/sudo-common": "12.2.13",
    "@sudoplatform/sudo-entitlements": "^18.0.3",
    "@sudoplatform/sudo-entitlements-admin": "^13.1.0",
    "@sudoplatform/sudo-profiles": "^19.0.2",
    "@sudoplatform/sudo-user": "^17.2.0",
    "@types/better-sqlite3": "^9.6.0",
    "@types/imap": "^0.8.43",
    "@types/jsdom": "^28.0.3",
    "@types/lodash": "^4.17.27",
    "@types/luxon": "^3.7.6",
    "@types/mailparser": "^3.9.0",
    "@types/node": "^25.9.9",
    "@types/nodemailer": "^8.0.2",
    "@types/sql.js": "^1.4.11",
    "@types/websocket": "^1.0.10",
    "@typescript-eslint/eslint-plugin": "^8.72.1",
    "@typescript-eslint/parser": "^8.72.1",
    "@vitest/coverage-v8": "^5.0.5",
    "better-sqlite3": "^11.10.0",
    "concurrently": "^10.0.6",
    "dotenv": "^18.0.9",
    "eslint": "^10.13.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-headers": "^1.3.5",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-prettier": "^5.5.7",
    "fake-indexeddb": "^6.2.6",
    "fast-check": "^4.10.2",
    "husky": "^9.1.7",
    "imap": "^0.8.19",
    "isomorphic-fetch": "^3.0.0",
    "jsdom": "^29.1.1",
    "luxon": "^3.7.2",
    "mailparser": "^3.12.4",
    "nodemailer": "^10.2.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^3.9.10",
    "rimraf": "^6.1.3",
    "sql.js": "^1.15.2",
    "ts-mockito": "^2.6.1",
    "typedoc": "^0.28.20",
    "typescript": "^5.9.3",
    "uuid": "^14.0.3",
    "vite": "^8.3.5",
    "vitest": "^5.0.5",
    "wait-for-expect": "^4.0.0",
    "websocket": "^1.0.35"
  },
  "packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8",
  "auditSuppressions": {
    "1120607": {
      "until": 1796944836,
      "untilISO": "2026-12-10T23:20:36Z",
      "reason": "js-cookie 2.2.1 pinned by amazon-cognito-auth-js (unmaintained) — fix requires major version 3.x which is incompatible"
    }
  }
}
