{
  "name": "@web3-storage/capabilities",
  "version": "18.1.0",
  "description": "UCAN Capabilities provided by web3.storage",
  "homepage": "https://web3.storage",
  "repository": {
    "type": "git",
    "url": "https://github.com/storacha/w3up.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/src/index.d.ts",
      "import": "./src/index.js"
    },
    "./*": {
      "types": "./dist/src/*.d.ts",
      "import": "./src/*.js"
    },
    "./test/helpers/*": {
      "types": "./dist/test/helpers/*.d.ts",
      "import": "./test/helpers/*.js"
    },
    "./filecoin": {
      "types": "./dist/src/filecoin/index.d.ts",
      "import": "./src/filecoin/index.js"
    },
    "./filecoin/storefront": {
      "types": "./dist/src/filecoin/storefront.d.ts",
      "import": "./src/filecoin/storefront.js"
    },
    "./filecoin/aggregator": {
      "types": "./dist/src/filecoin/aggregator.d.ts",
      "import": "./src/filecoin/aggregator.js"
    },
    "./filecoin/deal-tracker": {
      "types": "./dist/src/filecoin/deal-tracker.d.ts",
      "import": "./src/filecoin/deal-tracker.js"
    },
    "./filecoin/dealer": {
      "types": "./dist/src/filecoin/dealer.d.ts",
      "import": "./src/filecoin/dealer.js"
    },
    "./index": {
      "types": "./dist/src/index/index.d.ts",
      "import": "./src/index/index.js"
    },
    "./web3.storage/blob": {
      "types": "./dist/src/web3.storage/blob.d.ts",
      "import": "./src/web3.storage/blob.js"
    },
    "./types": {
      "types": "./dist/src/types.d.ts",
      "import": "./src/types.js"
    }
  },
  "typesVersions": {
    "*": {
      "*": [
        "*",
        "dist/*",
        "dist/src/*",
        "dist/src/*/index"
      ],
      "src/*": [
        "*",
        "dist/*",
        "dist/src/*",
        "dist/src/*/index"
      ]
    }
  },
  "files": [
    "src",
    "dist/src/**/*.d.ts",
    "dist/src/**/*.d.ts.map"
  ],
  "dependencies": {
    "@ucanto/core": "^10.0.1",
    "@ucanto/interface": "^10.0.1",
    "@ucanto/principal": "^9.0.1",
    "@ucanto/transport": "^9.1.1",
    "@ucanto/validator": "^9.0.2",
    "@web3-storage/data-segment": "^5.2.0",
    "uint8arrays": "^5.0.3"
  },
  "devDependencies": {
    "@types/assert": "^1.5.6",
    "@types/mocha": "^10.0.0",
    "@types/node": "^20.8.4",
    "assert": "^2.0.0",
    "mocha": "^10.2.0",
    "playwright-test": "^12.3.4",
    "type-fest": "^3.3.0",
    "typescript": "5.2.2",
    "watch": "^1.0.2",
    "@web3-storage/eslint-config-w3up": "^1.0.0"
  },
  "eslintConfig": {
    "extends": [
      "@web3-storage/eslint-config-w3up"
    ],
    "parserOptions": {
      "project": "./tsconfig.json"
    },
    "env": {
      "es2022": true,
      "mocha": true,
      "browser": true,
      "node": true
    },
    "ignorePatterns": [
      "dist",
      "docs",
      "coverage",
      "src/types.js"
    ]
  },
  "depcheck": {
    "specials": [
      "bin"
    ],
    "ignores": [
      "@types/*",
      "assert",
      "@web3-storage/eslint-config-w3up"
    ]
  },
  "scripts": {
    "attw": "attw --pack .",
    "lint": "tsc && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
    "lint:fix": "tsc && eslint '**/*.{js,ts}' --fix && prettier --write '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
    "build": "tsc --build",
    "dev": "tsc --build --watch",
    "check": "tsc --build",
    "test": "pnpm run test:node && pnpm run test:browser",
    "test:node": "mocha 'test/**/*.test.js' -n experimental-vm-modules -n no-warnings",
    "test:browser": "playwright-test",
    "testw": "watch 'pnpm test:node' src test --interval 1",
    "rc": "npm version prerelease --preid rc"
  }
}