{ "name": "@mastra/s3", "version": "0.7.1", "description": "S3-compatible filesystem provider for Mastra workspaces (AWS S3, Cloudflare R2, Neon Object Storage, 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" }, "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 --type-aware .", "lint:fix": "oxlint --type-aware --fix ." }, "license": "Apache-2.0", "dependencies": { "@aws-sdk/client-s3": "^3.1156.0" }, "devDependencies": { "@internal/lint": "workspace:*", "@internal/types-builder": "workspace:*", "@internal/workspace-test-utils": "workspace:*", "@mastra/core": "workspace:*", "@types/node": "22.19.15", "@vitest/coverage-v8": "catalog:", "@vitest/ui": "catalog:", "dotenv": "^18.0.9", "tsdown": "0.23.1", "typescript": "catalog:", "vitest": "catalog:" }, "peerDependencies": { "@aws-sdk/types": "^3.0.0", "@mastra/core": ">=1.4.0-0 <2.0.0-0" }, "files": [ "dist", "!dist/**/*.d.*ts.map" ], "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" } }