{
  "name": "@web3-storage/filecoin-api",
  "version": "4.1.0",
  "type": "module",
  "main": "./src/lib.js",
  "files": [
    "src",
    "test",
    "dist/**/*.d.ts",
    "dist/**/*.d.ts.map"
  ],
  "typesVersions": {
    "*": {
      "src/lib.js": [
        "dist/src/lib.d.ts"
      ],
      "aggregator/api": [
        "dist/src/aggregator/api.d.ts"
      ],
      "aggregator/service": [
        "dist/src/aggregator/service.d.ts"
      ],
      "aggregator/events": [
        "dist/src/aggregator/events.d.ts"
      ],
      "dealer/api": [
        "dist/src/dealer/api.d.ts"
      ],
      "dealer/service": [
        "dist/src/dealer/service.d.ts"
      ],
      "dealer/events": [
        "dist/src/dealer/events.d.ts"
      ],
      "deal-tracker/api": [
        "dist/src/deal-tracker/api.d.ts"
      ],
      "deal-tracker/service": [
        "dist/src/deal-tracker/service.d.ts"
      ],
      "deal-tracker/events": [
        "dist/src/deal-tracker/events.d.ts"
      ],
      "errors": [
        "dist/src/errors.d.ts"
      ],
      "storefront/api": [
        "dist/src/storefront/api.d.ts"
      ],
      "storefront/service": [
        "dist/src/storefront/service.d.ts"
      ],
      "storefront/events": [
        "dist/src/storefront/events.d.ts"
      ],
      "types": [
        "dist/src/types.d.ts"
      ],
      "test": [
        "dist/test/lib.d.ts"
      ],
      "test/context/service": [
        "dist/test/context/service.d.ts"
      ],
      "test/types": [
        "dist/test/types.d.ts"
      ]
    }
  },
  "exports": {
    ".": {
      "types": "./dist/src/lib.d.ts",
      "import": "./src/lib.js"
    },
    "./types": {
      "types": "./dist/src/types.d.ts",
      "import": "./src/types.js"
    },
    "./aggregator/api": {
      "types": "./dist/src/aggregator/api.d.ts",
      "import": "./src/aggregator/api.js"
    },
    "./aggregator/service": {
      "types": "./dist/src/aggregator/service.d.ts",
      "import": "./src/aggregator/service.js"
    },
    "./aggregator/events": {
      "types": "./dist/src/aggregator/events.d.ts",
      "import": "./src/aggregator/events.js"
    },
    "./dealer/api": {
      "types": "./dist/src/dealer/api.d.ts",
      "import": "./src/dealer/api.js"
    },
    "./dealer/service": {
      "types": "./dist/src/dealer/service.d.ts",
      "import": "./src/dealer/service.js"
    },
    "./dealer/events": {
      "types": "./dist/src/dealer/events.d.ts",
      "import": "./src/dealer/events.js"
    },
    "./deal-tracker/api": {
      "types": "./dist/src/deal-tracker/api.d.ts",
      "import": "./src/deal-tracker/api.js"
    },
    "./deal-tracker/service": {
      "types": "./dist/src/deal-tracker/service.d.ts",
      "import": "./src/deal-tracker/service.js"
    },
    "./storefront/api": {
      "types": "./dist/src/storefront/api.d.ts",
      "import": "./src/storefront/api.js"
    },
    "./storefront/service": {
      "types": "./dist/src/storefront/service.d.ts",
      "import": "./src/storefront/service.js"
    },
    "./storefront/events": {
      "types": "./dist/src/storefront/events.d.ts",
      "import": "./src/storefront/events.js"
    },
    "./errors": {
      "types": "./dist/src/errors.d.ts",
      "import": "./src/errors.js"
    },
    "./test": {
      "types": "./dist/test/lib.d.ts",
      "import": "./test/lib.js"
    },
    "./test/context/service": {
      "types": "./dist/test/context/service.d.ts",
      "import": "./test/context/service.js"
    },
    "./test/types": {
      "types": "./dist/test/types.d.ts",
      "import": "./test/types.js"
    }
  },
  "scripts": {
    "attw": "attw --pack .",
    "build": "tsc --build",
    "check": "tsc --build",
    "lint": "tsc --build && eslint '**/*.{js,ts}'",
    "test": "mocha --bail --timeout 10s -n no-warnings -n experimental-vm-modules -n experimental-fetch test/**/*.spec.js",
    "test-watch": "pnpm build && mocha --bail --timeout 10s --watch --parallel -n no-warnings -n experimental-vm-modules -n experimental-fetch --watch-files src,test"
  },
  "dependencies": {
    "@ipld/dag-ucan": "^3.4.0",
    "@ucanto/client": "^9.0.0",
    "@ucanto/core": "^9.0.0",
    "@ucanto/interface": "^9.0.0",
    "@ucanto/server": "^9.0.1",
    "@ucanto/transport": "^9.0.0",
    "@web3-storage/capabilities": "workspace:^",
    "@web3-storage/data-segment": "^4.0.0"
  },
  "devDependencies": {
    "@ipld/car": "^5.1.1",
    "@types/mocha": "^10.0.1",
    "@ucanto/client": "^9.0.0",
    "@ucanto/principal": "^9.0.0",
    "@web-std/blob": "^3.0.5",
    "@web3-storage/eslint-config-w3up": "workspace:^",
    "@web3-storage/filecoin-client": "workspace:^",
    "mocha": "^10.2.0",
    "multiformats": "^12.1.2",
    "one-webcrypto": "git://github.com/web3-storage/one-webcrypto",
    "p-wait-for": "^5.0.2",
    "typescript": "5.2.2"
  },
  "eslintConfig": {
    "extends": [
      "@web3-storage/eslint-config-w3up"
    ],
    "parserOptions": {
      "project": "./tsconfig.json"
    },
    "env": {
      "mocha": true
    },
    "ignorePatterns": [
      "dist",
      "coverage",
      "src/aggregator/api.js",
      "src/deal-tracker/api.js",
      "src/dealer/api.js",
      "src/storefront/api.js",
      "src/types.js",
      "test/types.js"
    ]
  },
  "depcheck": {
    "specials": [
      "bin"
    ],
    "ignorePatterns": [
      "dist"
    ],
    "ignores": [
      "dist",
      "@types/*",
      "@web3-storage/eslint-config-w3up"
    ]
  },
  "engines": {
    "node": ">=16.15"
  }
}
