mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-05-22 23:21:20 +00:00
* docs: update browser example pubsub * docs: fix pubsub example config * fix: make pubsub default to enabled This allows for only adding the module to have it enabled. Previously you would have to supply and enable the module which is unncessary for users
33 lines
985 B
JSON
33 lines
985 B
JSON
{
|
|
"name": "libp2p-in-the-browser",
|
|
"version": "0.1.0",
|
|
"description": "See other nodes in the network using WebRTC Star discovery mechanism",
|
|
"main": "src/index.js",
|
|
"scripts": {
|
|
"bundle": "browserify src/index.js > public/bundle.js",
|
|
"serve": "static public -p 9090 -H '{\"Cache-Control\": \"no-cache, must-revalidate\"}'",
|
|
"start": "npm run bundle && npm run serve"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"browserify": "^14.5.0",
|
|
"concat-stream": "^1.6.0",
|
|
"detect-dom-ready": "^1.0.2",
|
|
"node-static": "~0.7.10"
|
|
},
|
|
"dependencies": {
|
|
"detect-dom-ready": "^1.0.2",
|
|
"libp2p": "../../../",
|
|
"libp2p-bootstrap": "~0.9.7",
|
|
"libp2p-gossipsub": "~0.0.4",
|
|
"libp2p-kad-dht": "^0.15.3",
|
|
"libp2p-mplex": "~0.8.5",
|
|
"libp2p-secio": "~0.11.1",
|
|
"libp2p-spdy": "~0.13.3",
|
|
"libp2p-webrtc-star": "~0.15.8",
|
|
"libp2p-websocket-star": "~0.10.2",
|
|
"libp2p-websockets": "~0.12.2",
|
|
"peer-info": "~0.15.1"
|
|
}
|
|
}
|