UNPKG

kubo-rpc-client

Version:
241 lines (240 loc) 6.51 kB
{ "name": "kubo-rpc-client", "version": "5.2.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" } }, "eslintConfig": { "extends": "ipfs", "parserOptions": { "project": true, "sourceType": "module" }, "ignorePatterns": [ "test/interface-tests/fixtures/*" ] }, "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" ] }, "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": "^9.0.0", "@ipld/dag-json": "^10.0.0", "@ipld/dag-pb": "^4.0.0", "@libp2p/crypto": "^5.0.0", "@libp2p/interface": "^2.0.0", "@libp2p/logger": "^5.0.0", "@libp2p/peer-id": "^5.0.0", "@multiformats/multiaddr": "^12.2.1", "@multiformats/multiaddr-to-uri": "^11.0.0", "any-signal": "^4.1.1", "blob-to-it": "^2.0.5", "browser-readablestream-to-it": "^2.0.5", "dag-jose": "^5.0.0", "electron-fetch": "^1.9.1", "err-code": "^3.0.1", "ipfs-unixfs": "^11.1.4", "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": "^13.1.0", "nanoid": "^5.0.7", "native-fetch": "^4.0.2", "parse-duration": "^2.1.2", "react-native-fetch-api": "^3.0.0", "stream-to-it": "^1.0.1", "uint8arrays": "^5.0.3", "wherearewe": "^2.0.1" }, "devDependencies": { "@ipld/car": "^5.0.3", "@types/pako": "^2.0.3", "@types/readable-stream": "^4.0.11", "@types/sinon": "^17.0.3", "@web-std/file": "^3.0.3", "aegir": "^45.0.0", "blockstore-core": "^5.0.0", "buffer": "^6.0.3", "delay": "^6.0.0", "did-jwt": "^8.0.4", "interface-blockstore": "^5.2.10", "ipfs-unixfs-importer": "^15.2.5", "ipfsd-ctl": "^15.0.0", "ipns": "^10.0.0", "is-ipfs": "^8.0.1", "iso-random-stream": "^2.0.2", "it-buffer-stream": "^3.0.0", "it-drain": "^3.0.5", "it-pipe": "^3.0.1", "it-tar": "^6.0.0", "it-to-buffer": "^4.0.5", "kubo": "^0.29.0", "mock-ipfs-pinning-service": "^0.4.2", "nock": "^14.0.1", "p-defer": "^4.0.0", "p-event": "^6.0.1", "p-retry": "^6.2.0", "pako": "^2.0.4", "readable-stream": "^4.2.0", "sinon": "^19.0.2" }, "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/fetch.js": "./dist/src/lib/fetch.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 }