{
  "name": "@storacha/upload-client",
  "version": "1.4.2",
  "description": "The storacha.network upload client",
  "publishConfig": {
    "access": "public"
  },
  "homepage": "https://storacha.network",
  "repository": {
    "type": "git",
    "url": "https://github.com/storacha/upload-service.git",
    "directory": "packages/upload-client"
  },
  "author": "Alan Shaw",
  "license": "Apache-2.0 OR MIT",
  "type": "module",
  "types": "dist/index.d.ts",
  "main": "dist/index.js",
  "// scripts": "The `test-:*` scripts are internal only, to be run by `npm-run-all` in parallel with the mock servers.",
  "exports": {
    ".": "./dist/index.js",
    "./blob": "./dist/blob/index.js",
    "./car": "./dist/car.js",
    "./deduplication": "./dist/deduplication.js",
    "./fetch-with-upload-progress": "./dist/fetch-with-upload-progress.js",
    "./index": "./dist/index/index.js",
    "./sharding": "./dist/sharding.js",
    "./upload": "./dist/upload/index.js",
    "./upload/shard": "./dist/upload/shard/index.js",
    "./unixfs": "./dist/unixfs.js",
    "./types": "./dist/types.js"
  },
  "files": [
    "dist",
    "!dist/**/*.js.map"
  ],
  "dependencies": {
    "@ipld/car": "^5.2.2",
    "@ipld/dag-cbor": "^9.0.6",
    "@ipld/dag-ucan": "^3.4.5",
    "@ipld/unixfs": "^3.0.0",
    "@ucanto/client": "^9.0.2",
    "@ucanto/core": "^10.4.5",
    "@ucanto/interface": "^11.0.1",
    "@ucanto/transport": "^9.2.1",
    "@web3-storage/data-segment": "^5.1.0",
    "ipfs-utils": "^9.0.14",
    "multiformats": "^13.3.6",
    "p-retry": "^5.1.2",
    "varint": "^6.0.0",
    "@storacha/blob-index": "^1.2.9",
    "@storacha/filecoin-client": "^1.0.20",
    "@storacha/capabilities": "^2.3.1"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.17.3",
    "@types/assert": "^1.5.6",
    "@types/mocha": "^10.0.1",
    "@types/node": "^20.8.4",
    "@types/varint": "^6.0.1",
    "@typescript-eslint/eslint-plugin": "8.26.1",
    "@ucanto/principal": "^9.0.3",
    "@ucanto/server": "^11.0.3",
    "@web3-storage/content-claims": "^5.2.2",
    "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.8.3",
    "@storacha/eslint-config": "^0.0.0"
  },
  "eslintConfig": {
    "extends": [
      "@storacha/eslint-config"
    ],
    "parserOptions": {
      "project": "./tsconfig.json"
    },
    "env": {
      "es2022": true,
      "mocha": true,
      "browser": true,
      "node": true
    },
    "globals": {
      "AsyncIterator": "readonly"
    },
    "ignorePatterns": [
      "dist",
      "coverage"
    ]
  },
  "depcheck": {
    "specials": [
      "bin"
    ],
    "ignores": [
      "@types/*",
      "assert",
      "c8",
      "@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": "run-s test:node test:browser",
    "test:node": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:node'",
    "test-:node": "hundreds -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings",
    "test:browser": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:browser'",
    "test-:browser": "playwright-test 'test/**/!(*.node).test.js'",
    "mock": "npm-run-all --parallel mock:*",
    "mock:receipts-server": "PORT=9201 node test/helpers/receipts-server.js",
    "mock:bucket-200": "PORT=9200 STATUS=200 node test/helpers/bucket-server.js",
    "mock:bucket-400": "PORT=9400 STATUS=400 node test/helpers/bucket-server.js",
    "mock:bucket-500": "PORT=9500 STATUS=500 node test/helpers/bucket-server.js",
    "attw": "attw --pack .",
    "rc": "npm version prerelease --preid rc"
  }
}