@libp2p/pubsub
Version:
libp2p pubsub base class
105 lines (104 loc) • 2.65 kB
JSON
{
"name": "@libp2p/pubsub",
"version": "10.1.17",
"description": "libp2p pubsub base class",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/pubsub#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/libp2p/js-libp2p.git"
},
"bugs": {
"url": "https://github.com/libp2p/js-libp2p/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"keywords": [
"interface",
"libp2p"
],
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./peer-streams": {
"types": "./dist/src/peer-streams.d.ts",
"import": "./dist/src/peer-streams.js"
},
"./utils": {
"types": "./dist/src/utils.d.ts",
"import": "./dist/src/utils.js"
}
},
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
"dep-check": "aegir dep-check",
"doc-check": "aegir doc-check",
"build": "aegir build",
"generate": "protons test/message/rpc.proto",
"test": "aegir test",
"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",
"test:node": "aegir test -t node --cov",
"test:electron-main": "aegir test -t electron-main"
},
"dependencies": {
"@libp2p/crypto": "^5.1.7",
"@libp2p/interface": "^2.10.5",
"@libp2p/interface-internal": "^2.3.18",
"@libp2p/peer-collections": "^6.0.34",
"@libp2p/peer-id": "^5.1.8",
"@libp2p/utils": "^6.7.1",
"it-length-prefixed": "^10.0.1",
"it-pipe": "^3.0.1",
"it-pushable": "^3.2.3",
"main-event": "^1.0.1",
"multiformats": "^13.3.6",
"p-queue": "^8.1.0",
"uint8arraylist": "^2.4.8",
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"@libp2p/logger": "^5.1.21",
"@types/sinon": "^17.0.4",
"aegir": "^47.0.14",
"delay": "^6.0.0",
"it-pair": "^2.0.6",
"p-defer": "^4.0.1",
"p-wait-for": "^5.0.2",
"protons": "^7.6.1",
"protons-runtime": "^5.5.0",
"sinon": "^20.0.0"
},
"sideEffects": false
}