-
Notifications
You must be signed in to change notification settings - Fork 525
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 3.82 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "libp2p",
"version": "3.1.7",
"description": "JavaScript implementation of libp2p, a modular peer to peer network stack",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/libp2p#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": [
"IPFS",
"libp2p",
"network",
"p2p",
"peer",
"peer-to-peer"
],
"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"
},
"./user-agent": {
"types": "./dist/src/user-agent.d.ts",
"browser": "./dist/src/user-agent.browser.js",
"import": "./dist/src/user-agent.js"
},
"./version": {
"types": "./dist/src/version.d.ts",
"import": "./dist/src/version.js"
}
},
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
"dep-check": "aegir dep-check",
"doc-check": "aegir doc-check",
"prepublishOnly": "node scripts/update-version.js && npm run build",
"build": "aegir build",
"test": "aegir test",
"test:node": "aegir test -t node --cov",
"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:webkit": "aegir test -t browser -- --browser webkit"
},
"dependencies": {
"@chainsafe/is-ip": "^2.1.0",
"@chainsafe/netmask": "^2.0.0",
"@libp2p/crypto": "^5.1.14",
"@libp2p/interface": "^3.1.1",
"@libp2p/interface-internal": "^3.0.14",
"@libp2p/logger": "^6.2.3",
"@libp2p/multistream-select": "^7.0.14",
"@libp2p/peer-collections": "^7.0.14",
"@libp2p/peer-id": "^6.0.5",
"@libp2p/peer-store": "^12.0.14",
"@libp2p/utils": "^7.0.14",
"@multiformats/dns": "^1.0.6",
"@multiformats/multiaddr": "^13.0.1",
"@multiformats/multiaddr-matcher": "^3.0.1",
"any-signal": "^4.1.1",
"datastore-core": "^11.0.1",
"interface-datastore": "^9.0.1",
"it-merge": "^3.0.12",
"it-parallel": "^3.0.13",
"main-event": "^1.0.1",
"multiformats": "^13.4.0",
"p-defer": "^4.0.1",
"p-event": "^7.0.0",
"p-retry": "^8.0.0",
"progress-events": "^1.1.0",
"race-signal": "^2.0.0",
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"aegir": "^47.0.22",
"delay": "^7.0.0",
"it-all": "^3.0.9",
"it-drain": "^3.0.10",
"it-length-prefixed": "^10.0.1",
"it-map": "^3.1.4",
"it-take": "^3.0.9",
"p-wait-for": "^6.0.0",
"sinon": "^21.0.0",
"sinon-ts": "^2.0.0",
"uint8arraylist": "^2.4.8",
"wherearewe": "^2.0.1"
},
"browser": {
"./dist/src/connection-manager/constants.js": "./dist/src/connection-manager/constants.browser.js",
"./dist/src/config/connection-gater.js": "./dist/src/config/connection-gater.browser.js",
"./dist/src/user-agent.js": "./dist/src/user-agent.browser.js"
},
"react-native": {
"./dist/src/connection-manager/constants.js": "./dist/src/connection-manager/constants.browser.js",
"./dist/src/config/connection-gater.js": "./dist/src/config/connection-gater.browser.js",
"./dist/src/user-agent.js": "./dist/src/user-agent.react-native.js"
},
"sideEffects": false
}