Skip to content

Commit 10811e9

Browse files
authored
chore: update keywords and description (libp2p#370)
* chore: update keywords and description chore: reorganize package.json fields * test: bump timeouts for peer generation
1 parent 9c2789b commit 10811e9

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

package.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "libp2p",
33
"version": "0.25.4",
4-
"description": "JavaScript base class for libp2p bundles",
4+
"description": "JavaScript implementation of libp2p, a modular peer to peer network stack",
55
"leadMaintainer": "Jacob Heun <[email protected]>",
66
"main": "src/index.js",
77
"files": [
@@ -23,20 +23,25 @@
2323
"url": "https://github.com/libp2p/js-libp2p.git"
2424
},
2525
"keywords": [
26+
"libp2p",
27+
"network",
28+
"p2p",
29+
"peer",
30+
"peer-to-peer",
2631
"IPFS"
2732
],
28-
"engines": {
29-
"node": ">=6.0.0",
30-
"npm": ">=3.0.0"
31-
},
32-
"license": "MIT",
3333
"bugs": {
3434
"url": "https://github.com/libp2p/js-libp2p/issues"
3535
},
36-
"homepage": "https://github.com/libp2p/js-libp2p",
36+
"homepage": "https://libp2p.io",
37+
"license": "MIT",
3738
"browser": {
3839
"./test/utils/bundle-nodejs": "./test/utils/bundle-browser"
3940
},
41+
"engines": {
42+
"node": ">=10.0.0",
43+
"npm": ">=6.0.0"
44+
},
4045
"dependencies": {
4146
"async": "^2.6.2",
4247
"debug": "^4.1.1",

test/create.spec.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ describe('libp2p creation', () => {
109109
})
110110
})
111111

112-
it('createLibp2p should create a peerInfo instance', (done) => {
112+
it('createLibp2p should create a peerInfo instance', function (done) {
113+
this.timeout(10e3)
113114
createLibp2p({
114115
modules: {
115116
transport: [ WS ]
@@ -121,7 +122,8 @@ describe('libp2p creation', () => {
121122
})
122123
})
123124

124-
it('createLibp2p should allow for a provided peerInfo instance', (done) => {
125+
it('createLibp2p should allow for a provided peerInfo instance', function (done) {
126+
this.timeout(10e3)
125127
PeerInfo.create((err, peerInfo) => {
126128
expect(err).to.not.exist()
127129
sinon.spy(PeerInfo, 'create')

0 commit comments

Comments
 (0)