{
  "name": "@storacha/capabilities",
  "version": "2.3.1",
  "description": "UCAN Capabilities provided by storacha.network",
  "publishConfig": {
    "access": "public"
  },
  "homepage": "https://storacha.network",
  "repository": {
    "type": "git",
    "url": "https://github.com/storacha/upload-service.git",
    "directory": "packages/capabilities"
  },
  "license": "(Apache-2.0 OR MIT)",
  "type": "module",
  "types": "dist/src/index.d.ts",
  "main": "src/index.js",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./*": {
      "types": "./dist/*.d.ts",
      "import": "./dist/*.js"
    },
    "./test/helpers/*": {
      "types": "./dist/test/helpers/*.d.ts",
      "import": "./test/helpers/*.js"
    },
    "./assert": {
      "types": "./dist/assert.d.ts",
      "import": "./dist/assert.js"
    },
    "./blob": {
      "types": "./dist/blob/index.d.ts",
      "import": "./dist/blob/index.js"
    },
    "./blob/replica": {
      "types": "./dist/blob/replica/index.d.ts",
      "import": "./dist/blob/replica/index.js"
    },
    "./claim": {
      "types": "./dist/claim.d.ts",
      "import": "./dist/claim.js"
    },
    "./filecoin": {
      "types": "./dist/filecoin/index.d.ts",
      "import": "./dist/filecoin/index.js"
    },
    "./filecoin/storefront": {
      "types": "./dist/filecoin/storefront.d.ts",
      "import": "./dist/filecoin/storefront.js"
    },
    "./filecoin/aggregator": {
      "types": "./dist/filecoin/aggregator.d.ts",
      "import": "./dist/filecoin/aggregator.js"
    },
    "./filecoin/deal-tracker": {
      "types": "./dist/filecoin/deal-tracker.d.ts",
      "import": "./dist/filecoin/deal-tracker.js"
    },
    "./filecoin/dealer": {
      "types": "./dist/filecoin/dealer.d.ts",
      "import": "./dist/filecoin/dealer.js"
    },
    "./space/index": {
      "types": "./dist/space/index.d.ts",
      "import": "./dist/space/index.js"
    },
    "./space/blob": {
      "types": "./dist/space/blob.d.ts",
      "import": "./dist/space/blob.js"
    },
    "./space/content": {
      "types": "./dist/space/content.d.ts",
      "import": "./dist/space/content.js"
    },
    "./upload/shard": {
      "types": "./dist/upload/shard.d.ts",
      "import": "./dist/upload/shard.js"
    },
    "./web3.storage/blob": {
      "types": "./dist/web3.storage/blob.d.ts",
      "import": "./dist/web3.storage/blob.js"
    },
    "./types": {
      "types": "./dist/types.d.ts",
      "import": "./dist/types.js"
    }
  },
  "files": [
    "dist",
    "!dist/**/*.js.map"
  ],
  "dependencies": {
    "@ucanto/core": "^10.4.5",
    "@ucanto/interface": "^11.0.1",
    "@ucanto/principal": "^9.0.3",
    "@ucanto/transport": "^9.2.1",
    "@ucanto/validator": "^10.0.1",
    "@web3-storage/data-segment": "^5.2.0",
    "multiformats": "^13.3.6"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.17.3",
    "@ipld/dag-ucan": "^3.4.5",
    "@types/assert": "^1.5.6",
    "@types/mocha": "^10.0.0",
    "@types/node": "^20.8.4",
    "@typescript-eslint/eslint-plugin": "8.26.1",
    "assert": "^2.0.0",
    "mocha": "^10.2.0",
    "playwright-test": "^12.3.4",
    "type-fest": "^3.3.0",
    "typescript": "^5.8.3",
    "watch": "^1.0.2",
    "@storacha/eslint-config": "^0.0.0"
  },
  "eslintConfig": {
    "extends": [
      "@storacha/eslint-config"
    ],
    "env": {
      "es2022": true,
      "mocha": true,
      "browser": true,
      "node": true
    },
    "ignorePatterns": [
      "dist",
      "docs",
      "coverage",
      "src/types.js"
    ],
    "rules": {
      "@typescript-eslint/no-empty-object-type": "off"
    }
  },
  "depcheck": {
    "specials": [
      "bin"
    ],
    "ignores": [
      "@types/*",
      "assert",
      "@storacha/eslint-config"
    ]
  },
  "scripts": {
    "dev": "tsc --build --watch --preserveWatchOutput",
    "clean": "rm -rf dist *.tsbuildinfo",
    "lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
    "lint:fix": "eslint --fix '**/*.{js,ts}' && prettier --write '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
    "test:node": "mocha 'test/**/*.test.js' -n experimental-vm-modules -n no-warnings",
    "test:browser": "playwright-test 'test/**/!(*.node).test.js'",
    "attw": "attw --pack .",
    "testw": "watch 'pnpm test:node' src test --interval 1",
    "rc": "npm version prerelease --preid rc"
  }
}