mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-18 00:20:51 +00:00
* refactor: examples-browser * chore: add information to use signalling server * chore: apply suggestions from code review Co-Authored-By: Jacob Heun <jacobheun@gmail.com> * chore: update deps * docs: refactor libp2p browser example * docs(examples): add back websockets and boostrap nodes docs(examples): redo the browser readme * fix: handle edge case of connections closing early * chore: fix lint * chore: update example deps and readme * chore: update webrtc-star * chore: apply suggestions from code review Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai> Co-authored-by: Jacob Heun <jacobheun@gmail.com> Co-authored-by: Alan Shaw <alan.shaw@protocol.ai>
35 lines
893 B
JSON
35 lines
893 B
JSON
{
|
|
"name": "libp2p-in-browser",
|
|
"version": "1.0.0",
|
|
"description": "A libp2p node running in the browser",
|
|
"main": "index.js",
|
|
"browserslist": [
|
|
"last 2 Chrome versions"
|
|
],
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"start": "parcel index.html",
|
|
"server": "star-signal"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"@babel/preset-env": "^7.8.3",
|
|
"libp2p": "../../",
|
|
"libp2p-bootstrap": "^0.10.3",
|
|
"libp2p-mplex": "^0.9.3",
|
|
"libp2p-secio": "^0.12.2",
|
|
"libp2p-webrtc-star": "^0.17.3",
|
|
"libp2p-websockets": "^0.13.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.3",
|
|
"@babel/core": "^7.8.3",
|
|
"babel-plugin-syntax-async-functions": "^6.13.0",
|
|
"babel-plugin-transform-regenerator": "^6.26.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"parcel-bundler": "^1.12.4"
|
|
}
|
|
}
|