{
  "name": "@mastra/s3",
  "version": "0.6.3",
  "description": "S3-compatible filesystem provider for Mastra workspaces (AWS S3, Cloudflare R2, MinIO)",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      },
      "require": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "license": "Apache-2.0",
  "dependencies": {
    "@aws-sdk/client-s3": "^3.1095.0"
  },
  "devDependencies": {
    "@types/node": "22.20.1",
    "@vitest/coverage-v8": "4.1.10",
    "@vitest/ui": "4.1.10",
    "dotenv": "^17.4.2",
    "eslint": "^10.7.0",
    "tsdown": "0.22.9",
    "typescript": "^7.0.2",
    "vitest": "4.1.10",
    "@mastra/core": "1.67.0",
    "@internal/lint": "0.0.133",
    "@internal/workspace-test-utils": "0.0.77",
    "@internal/types-builder": "0.0.108"
  },
  "peerDependencies": {
    "@aws-sdk/types": "^3.0.0",
    "@mastra/core": ">=1.4.0-0 <2.0.0-0"
  },
  "files": [
    "dist"
  ],
  "homepage": "https://mastra.ai",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mastra-ai/mastra.git",
    "directory": "workspaces/s3"
  },
  "bugs": {
    "url": "https://github.com/mastra-ai/mastra/issues"
  },
  "engines": {
    "node": ">=22.13.0"
  },
  "scripts": {
    "build": "tsdown --silent --config tsdown.config.ts",
    "build:lib": "pnpm build",
    "build:watch": "pnpm build --watch",
    "test:unit": "vitest run --exclude '**/*.integration.test.ts'",
    "test:watch": "vitest watch",
    "pretest": "docker compose up -d --wait --wait-timeout 180 && n=0; until [ \"$(docker compose ps -a -q minio-setup | xargs docker inspect -f '{{.State.Status}}-{{.State.ExitCode}}' 2>/dev/null)\" = 'exited-0' ] || [ \"$n\" -ge 60 ]; do sleep 1; n=$((n+1)); done; [ \"$(docker compose ps -a -q minio-setup | xargs docker inspect -f '{{.State.Status}}-{{.State.ExitCode}}' 2>/dev/null)\" = 'exited-0' ]",
    "test": "S3_ENDPOINT=http://localhost:9000 S3_ACCESS_KEY_ID=minioadmin S3_SECRET_ACCESS_KEY=minioadmin S3_BUCKET=test-bucket S3_REGION=us-east-1 vitest run ./src/**/*.integration.test.ts",
    "posttest": "docker compose down -v",
    "test:cloud": "vitest run ./src/**/*.integration.test.ts",
    "lint": "oxlint . && eslint .",
    "lint:fix": "oxlint --fix . && eslint --fix ."
  }
}