{
  "name": "@web3-storage/upload-client",
  "version": "11.2.0",
  "description": "The web3.storage upload client",
  "homepage": "https://github.com/web3-storage/w3protocol/tree/main/packages/upload-client",
  "repository": {
    "type": "git",
    "url": "https://github.com/web3-storage/w3protocol.git",
    "directory": "packages/upload-client"
  },
  "author": "Alan Shaw",
  "license": "Apache-2.0 OR MIT",
  "type": "module",
  "types": "dist/src/index.d.ts",
  "main": "src/index.js",
  "scripts": {
    "attw": "attw --pack .",
    "lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
    "build": "tsc --build",
    "check": "tsc --build",
    "test": "npm-run-all -p -r mock test:all",
    "test:all": "run-s test:node test:browser",
    "test:node": "hundreds -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings",
    "test:browser": "playwright-test 'test/**/!(*.node).test.js'",
    "mock": "run-p mock:*",
    "mock:bucket-200": "PORT=9200 STATUS=200 node test/helpers/bucket-server.js",
    "mock:bucket-401": "PORT=9400 STATUS=400 node test/helpers/bucket-server.js",
    "mock:bucket-500": "PORT=9500 STATUS=500 node test/helpers/bucket-server.js",
    "rc": "npm version prerelease --preid rc"
  },
  "exports": {
    ".": "./dist/src/index.js",
    "./car": "./dist/src/car.js",
    "./sharding": "./dist/src/sharding.js",
    "./upload": "./dist/src/upload.js",
    "./store": "./dist/src/store.js",
    "./unixfs": "./dist/src/unixfs.js",
    "./types": "./dist/src/types.js"
  },
  "typesVersions": {
    "*": {
      "car": [
        "dist/src/car.d.ts"
      ],
      "sharding": [
        "dist/src/sharding.d.ts"
      ],
      "upload": [
        "dist/src/upload.d.ts"
      ],
      "store": [
        "dist/src/store.d.ts"
      ],
      "unixfs": [
        "dist/src/unixfs.d.ts"
      ],
      "types": [
        "dist/src/types.d.ts"
      ]
    }
  },
  "files": [
    "dist/src/**/*.js",
    "dist/src/**/*.js.map",
    "dist/src/**/*.d.ts",
    "dist/src/**/*.d.ts.map"
  ],
  "dependencies": {
    "@ipld/car": "^5.2.2",
    "@ipld/dag-cbor": "^9.0.6",
    "@ipld/dag-ucan": "^3.4.0",
    "@ipld/unixfs": "^2.1.1",
    "@ucanto/client": "^9.0.0",
    "@ucanto/interface": "^9.0.0",
    "@ucanto/transport": "^9.0.0",
    "@web3-storage/capabilities": "workspace:^",
    "fr32-sha2-256-trunc254-padded-binary-tree-multihash": "^3.1.0",
    "ipfs-utils": "^9.0.14",
    "multiformats": "^12.1.2",
    "p-retry": "^5.1.2",
    "parallel-transform-web": "^1.0.0",
    "varint": "^6.0.0"
  },
  "devDependencies": {
    "@types/assert": "^1.5.6",
    "@types/mocha": "^10.0.1",
    "@types/varint": "^6.0.1",
    "@web3-storage/eslint-config-w3up": "workspace:^",
    "@ucanto/principal": "^9.0.0",
    "@ucanto/server": "^9.0.1",
    "assert": "^2.0.0",
    "blockstore-core": "^3.0.0",
    "c8": "^7.13.0",
    "hundreds": "^0.0.9",
    "ipfs-unixfs-exporter": "^10.0.0",
    "mocha": "^10.2.0",
    "npm-run-all": "^4.1.5",
    "playwright-test": "^12.3.4",
    "typescript": "5.2.2"
  },
  "eslintConfig": {
    "extends": [
      "@web3-storage/eslint-config-w3up"
    ],
    "parserOptions": {
      "project": "./tsconfig.json"
    },
    "env": {
      "es2022": true,
      "mocha": true,
      "browser": true,
      "node": true
    },
    "ignorePatterns": [
      "dist",
      "coverage"
    ]
  },
  "depcheck": {
    "specials": [
      "bin"
    ],
    "ignores": [
      "@types/*",
      "assert",
      "c8",
      "@web3-storage/eslint-config-w3up"
    ]
  }
}
