UNPKG

kubo-rpc-client

Version:
238 lines (237 loc) 6.38 kB
{ "name": "kubo-rpc-client", "version": "7.0.0", "description": "A client library for the Kubo RPC API", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/ipfs/js-kubo-rpc-client#readme", "repository": { "type": "git", "url": "git+https://github.com/ipfs/js-kubo-rpc-client.git" }, "bugs": { "url": "https://github.com/ipfs/js-kubo-rpc-client/issues" }, "publishConfig": { "access": "public", "provenance": true }, "keywords": [ "http", "http-client", "ipfs", "kubo", "rpc", "rpc-client" ], "type": "module", "types": "./dist/src/index.d.ts", "files": [ "src", "dist", "!dist/test", "!**/*.tsbuildinfo" ], "exports": { ".": { "types": "./dist/src/index.d.ts", "import": "./dist/src/index.js", "module-sync": "./dist/src/index.js" } }, "release": { "branches": [ "main" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "conventionalcommits", "releaseRules": [ { "breaking": true, "release": "major" }, { "revert": true, "release": "patch" }, { "type": "feat", "release": "minor" }, { "type": "fix", "release": "patch" }, { "type": "docs", "release": "patch" }, { "type": "test", "release": "patch" }, { "type": "deps", "release": "patch" }, { "scope": "no-release", "release": false } ] } ], [ "@semantic-release/release-notes-generator", { "preset": "conventionalcommits", "presetConfig": { "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "chore", "section": "Trivial Changes" }, { "type": "docs", "section": "Documentation" }, { "type": "deps", "section": "Dependencies" }, { "type": "test", "section": "Tests" } ] } } ], "@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/github", [ "@semantic-release/git", { "assets": [ "CHANGELOG.md", "package.json" ] } ] ] }, "scripts": { "build": "aegir build", "test": "aegir test", "docs": "aegir docs", "docs:no-publish": "aegir docs --publish false", "test:node": "aegir test -t node --cov", "test:chrome": "aegir test -t browser --cov", "test:chrome-webworker": "aegir test -t webworker", "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "lint": "aegir lint", "lint:fix": "aegir lint --fix", "clean": "aegir clean", "dep-check": "aegir dep-check -i electron-fetch buffer", "release": "aegir release" }, "dependencies": { "@ipld/dag-cbor": "^10.0.1", "@ipld/dag-json": "^11.0.0", "@ipld/dag-pb": "^4.0.0", "@libp2p/crypto": "^5.0.0", "@libp2p/interface": "^3.0.2", "@libp2p/logger": "^6.0.5", "@libp2p/peer-id": "^6.0.3", "@multiformats/multiaddr": "^13.0.1", "@multiformats/multiaddr-to-uri": "^12.0.0", "any-signal": "^4.1.1", "blob-to-it": "^3.0.0", "browser-readablestream-to-it": "^2.0.5", "dag-jose": "^5.0.0", "electron-fetch": "^1.9.1", "err-code": "^3.0.1", "ipfs-unixfs": "^13.0.0", "iso-url": "^1.2.1", "it-all": "^3.0.4", "it-first": "^3.0.4", "it-glob": "^3.0.1", "it-last": "^3.0.4", "it-map": "^3.0.5", "it-peekable": "^3.0.3", "it-to-stream": "^1.0.0", "merge-options": "^3.0.4", "multiformats": "^14.0.0", "nanoid": "^5.0.7", "parse-duration": "^2.1.2", "stream-to-it": "^1.0.1", "uint8arrays": "^6.1.1", "wherearewe": "^2.0.1" }, "devDependencies": { "@ipld/car": "^5.0.3", "@libp2p/utils": "^7.0.5", "@types/pako": "^2.0.3", "@types/readable-stream": "^4.0.11", "@types/sinon": "^21.0.1", "@web-std/file": "^3.0.3", "aegir": "^48.0.4", "blockstore-core": "^7.0.1", "buffer": "^6.0.3", "delay": "^7.0.0", "did-jwt": "^8.0.4", "interface-blockstore": "^7.0.1", "ipfs-unixfs-importer": "^17.0.1", "ipfsd-ctl": "^16.0.0", "ipns": "^11.0.0", "is-ipfs": "^8.0.1", "iso-random-stream": "^2.0.2", "it-buffer-stream": "^4.0.0", "it-drain": "^3.0.5", "it-pipe": "^3.0.1", "it-tar": "^6.0.0", "it-to-buffer": "^5.0.0", "kubo": "^0.38.0", "mock-ipfs-pinning-service": "^0.4.2", "nock": "^14.0.1", "p-defer": "^4.0.0", "p-event": "^7.0.0", "p-retry": "^8.0.0", "pako": "^2.0.4", "readable-stream": "^4.2.0", "sinon": "^22.0.0" }, "browser": { "kubo": false, "./dist/src/lib/glob-source.js": false, "./dist/src/lib/files/normalise-content.js": "./dist/src/lib/files/normalise-content.browser.js", "./dist/src/lib/files/normalise-input-multiple.js": "./dist/src/lib/files/normalise-input-multiple.browser.js", "./dist/src/lib/files/normalise-input-single.js": "./dist/src/lib/files/normalise-input-single.browser.js", "./dist/src/lib/agent.js": "./dist/src/lib/agent.browser.js", "./dist/src/lib/multipart-request.node.js": "./dist/src/lib/multipart-request.browser.js", "./dist/src/lib/http/fetch.js": "./dist/src/lib/http/fetch.browser.js", "http": false, "node:http": false, "https": false, "node:https": false, "path": false, "node:path": false, "fs": false, "node:fs": false, "fs/promises": false, "node:fs/promises": false }, "sideEffects": false }