{
  "name": "@web3-storage/w3up-client",
  "version": "9.3.0",
  "description": "Client for the w3up API",
  "license": "Apache-2.0 OR MIT",
  "type": "module",
  "main": "src/index.js",
  "types": "dist/src/index.d.ts",
  "typesVersions": {
    "*": {
      "*": [
        "*",
        "dist/*",
        "dist/src/*",
        "dist/src/*/index"
      ],
      "src/*": [
        "*",
        "dist/*",
        "dist/src/*",
        "dist/src/*/index"
      ]
    }
  },
  "exports": {
    ".": {
      "types": "./dist/src/index.d.ts",
      "node": "./src/index.node.js",
      "import": "./src/index.js"
    },
    "./account": {
      "types": "./dist/src/account.d.ts",
      "import": "./src/account.js"
    },
    "./space": {
      "types": "./dist/src/space.d.ts",
      "import": "./src/space.js"
    },
    "./result": {
      "types": "./dist/src/result.d.ts",
      "import": "./src/result.js"
    },
    "./client": {
      "types": "./dist/src/client.d.ts",
      "import": "./src/client.js"
    },
    "./capability/access": {
      "types": "./dist/src/capability/access.d.ts",
      "import": "./src/capability/access.js"
    },
    "./capability/space": {
      "types": "./dist/src/capability/space.d.ts",
      "import": "./src/capability/space.js"
    },
    "./capability/store": {
      "types": "./dist/src/capability/store.d.ts",
      "import": "./src/capability/store.js"
    },
    "./capability/subscription": {
      "types": "./dist/src/capability/subscription.d.ts",
      "import": "./src/capability/subscription.js"
    },
    "./capability/upload": {
      "types": "./dist/src/capability/upload.d.ts",
      "import": "./src/capability/upload.js"
    },
    "./capability/usage": {
      "types": "./dist/src/capability/usage.d.ts",
      "import": "./src/capability/usage.js"
    },
    "./types": "./src/types.js"
  },
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "src",
    "dist"
  ],
  "scripts": {
    "attw": "attw --pack .",
    "lint": "tsc --build && eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
    "build": "tsc --build",
    "check": "tsc --build",
    "prepare": "npm run 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 -n stack-trace-limit=1000",
    "test:browser": "playwright-test --runner mocha 'test/**/!(*.node).test.js'",
    "mock": "run-p mock:*",
    "mock:bucket-200": "PORT=9200 STATUS=200 node test/helpers/bucket-server.js",
    "rc": "npm version prerelease --preid rc",
    "docs": "npm run build && typedoc --out docs-generated",
    "docs:markdown": "npm run build && docusaurus generate-typedoc"
  },
  "dependencies": {
    "@ipld/dag-ucan": "^3.4.0",
    "@ucanto/client": "^9.0.0",
    "@ucanto/core": "^9.0.0",
    "@ucanto/interface": "^9.0.0",
    "@ucanto/principal": "^9.0.0",
    "@ucanto/transport": "^9.0.0",
    "@web3-storage/access": "workspace:^",
    "@web3-storage/capabilities": "workspace:^",
    "@web3-storage/did-mailto": "workspace:^",
    "@web3-storage/filecoin-client": "workspace:^",
    "@web3-storage/upload-client": "workspace:^"
  },
  "devDependencies": {
    "@web3-storage/upload-api": "workspace:^",
    "@docusaurus/core": "^2.2.0",
    "@ipld/car": "^5.1.1",
    "@types/assert": "^1.5.6",
    "@types/mocha": "^10.0.1",
    "@types/node": "^20.8.4",
    "@ucanto/server": "^9.0.1",
    "@web3-storage/data-segment": "^5.0.0",
    "@web3-storage/eslint-config-w3up": "workspace:^",
    "assert": "^2.0.0",
    "c8": "^7.13.0",
    "docusaurus-plugin-typedoc": "^0.18.0",
    "hundreds": "^0.0.9",
    "mocha": "^10.1.0",
    "multiformats": "^12.1.2",
    "npm-run-all": "^4.1.5",
    "playwright-test": "^12.3.4",
    "typedoc": "^0.23.24",
    "typedoc-plugin-markdown": "^3.14.0",
    "typedoc-plugin-missing-exports": "^1.0.0",
    "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",
      "src/types.js"
    ]
  },
  "directories": {
    "test": "test"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/web3-storage/w3up-client.git"
  },
  "keywords": [
    "web3",
    "storage",
    "upload",
    "store",
    "DAG",
    "IPLD",
    "UCAN",
    "IPFS"
  ],
  "author": "DAG House",
  "bugs": {
    "url": "https://github.com/web3-storage/w3up-client/issues"
  },
  "homepage": "https://github.com/web3-storage/w3up-client#readme",
  "depcheck": {
    "ignorePatterns": [
      "dist"
    ],
    "ignores": [
      "@typescript-eslint/eslint-plugin",
      "@typescript-eslint/parser",
      "assert",
      "c8",
      "docusaurus-plugin-typedoc",
      "typedoc-plugin-markdown",
      "typedoc-plugin-missing-exports"
    ]
  }
}
