mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-04-11 19:56:04 +00:00
chore: update keywords and description (#370)
* chore: update keywords and description chore: reorganize package.json fields * test: bump timeouts for peer generation
This commit is contained in:
parent
9c2789bc15
commit
10811e9ced
19
package.json
19
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "libp2p",
|
"name": "libp2p",
|
||||||
"version": "0.25.4",
|
"version": "0.25.4",
|
||||||
"description": "JavaScript base class for libp2p bundles",
|
"description": "JavaScript implementation of libp2p, a modular peer to peer network stack",
|
||||||
"leadMaintainer": "Jacob Heun <jacobheun@gmail.com>",
|
"leadMaintainer": "Jacob Heun <jacobheun@gmail.com>",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
@ -23,20 +23,25 @@
|
|||||||
"url": "https://github.com/libp2p/js-libp2p.git"
|
"url": "https://github.com/libp2p/js-libp2p.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
"libp2p",
|
||||||
|
"network",
|
||||||
|
"p2p",
|
||||||
|
"peer",
|
||||||
|
"peer-to-peer",
|
||||||
"IPFS"
|
"IPFS"
|
||||||
],
|
],
|
||||||
"engines": {
|
|
||||||
"node": ">=6.0.0",
|
|
||||||
"npm": ">=3.0.0"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/libp2p/js-libp2p/issues"
|
"url": "https://github.com/libp2p/js-libp2p/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/libp2p/js-libp2p",
|
"homepage": "https://libp2p.io",
|
||||||
|
"license": "MIT",
|
||||||
"browser": {
|
"browser": {
|
||||||
"./test/utils/bundle-nodejs": "./test/utils/bundle-browser"
|
"./test/utils/bundle-nodejs": "./test/utils/bundle-browser"
|
||||||
},
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10.0.0",
|
||||||
|
"npm": ">=6.0.0"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"async": "^2.6.2",
|
"async": "^2.6.2",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
|
@ -109,7 +109,8 @@ describe('libp2p creation', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
it('createLibp2p should create a peerInfo instance', (done) => {
|
it('createLibp2p should create a peerInfo instance', function (done) {
|
||||||
|
this.timeout(10e3)
|
||||||
createLibp2p({
|
createLibp2p({
|
||||||
modules: {
|
modules: {
|
||||||
transport: [ WS ]
|
transport: [ WS ]
|
||||||
@ -121,7 +122,8 @@ describe('libp2p creation', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
it('createLibp2p should allow for a provided peerInfo instance', (done) => {
|
it('createLibp2p should allow for a provided peerInfo instance', function (done) {
|
||||||
|
this.timeout(10e3)
|
||||||
PeerInfo.create((err, peerInfo) => {
|
PeerInfo.create((err, peerInfo) => {
|
||||||
expect(err).to.not.exist()
|
expect(err).to.not.exist()
|
||||||
sinon.spy(PeerInfo, 'create')
|
sinon.spy(PeerInfo, 'create')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user