-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathpackage.json
144 lines (144 loc) · 4.12 KB
/
package.json
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
135
136
137
138
139
140
141
142
143
144
{
"name": "@chainsafe/libp2p-gossipsub",
"version": "14.1.0",
"description": "A typescript implementation of gossipsub",
"files": [
"src",
"dist",
"!dist/test",
"!**/*.tsbuildinfo"
],
"type": "module",
"types": "dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./metrics": {
"types": "./dist/src/metrics.d.ts",
"import": "./dist/src/metrics.js"
},
"./message": {
"types": "./dist/src/message/index.d.ts",
"import": "./dist/src/message/index.js"
},
"./score": {
"types": "./dist/src/score/index.d.ts",
"import": "./dist/src/score/index.js"
},
"./types": {
"types": "./dist/src/types.d.ts",
"import": "./dist/src/types.js"
}
},
"typesVersions": {
"*": {
"*": [
"*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"scripts": {
"lint": "aegir lint",
"release": "aegir release --no-types",
"build": "aegir build",
"generate": "protons ./src/message/rpc.proto",
"prepare": "npm run build",
"pretest": "npm run build",
"pretest:e2e": "npm run build",
"benchmark": "yarn benchmark:files 'test/benchmark/**/*.test.ts'",
"benchmark:files": "NODE_OPTIONS='--max-old-space-size=4096 --loader=ts-node/esm' benchmark --config .benchrc.yaml --defaultBranch master",
"test": "aegir test -f './dist/test/*.spec.js'",
"test:unit": "aegir test -f './dist/test/unit/*.test.js' --target node",
"test:e2e": "aegir test -f './dist/test/e2e/*.spec.js'",
"test:node": "npm run test -- --target node",
"test:browser": "npm run test -- --target browser"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ChainSafe/js-libp2p-gossipsub.git"
},
"keywords": [
"libp2p",
"pubsub",
"gossip"
],
"author": "Cayman Nava",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ChainSafe/js-libp2p-gossipsub/issues"
},
"homepage": "https://github.com/ChainSafe/js-libp2p-gossipsub#readme",
"dependencies": {
"@libp2p/crypto": "^5.0.0",
"@libp2p/interface": "^2.0.0",
"@libp2p/interface-internal": "^2.0.0",
"@libp2p/peer-id": "^5.0.0",
"@libp2p/pubsub": "^10.0.0",
"@multiformats/multiaddr": "^12.1.14",
"denque": "^2.1.0",
"it-length-prefixed": "^9.0.4",
"it-pipe": "^3.0.1",
"it-pushable": "^3.2.3",
"multiformats": "^13.0.1",
"protons-runtime": "^5.5.0",
"uint8arraylist": "^2.4.8",
"uint8arrays": "^5.0.1"
},
"devDependencies": {
"@chainsafe/as-sha256": "^0.4.1",
"@dapplion/benchmark": "^0.2.4",
"@libp2p/floodsub": "^10.0.0",
"@libp2p/interface-compliance-tests": "^6.0.0",
"@libp2p/logger": "^5.0.0",
"@libp2p/peer-store": "^11.0.0",
"@types/node": "^20.11.6",
"@types/sinon": "^17.0.3",
"abortable-iterator": "^5.1.0",
"aegir": "^44.1.1",
"datastore-core": "^10.0.0",
"delay": "^6.0.0",
"it-all": "^3.0.6",
"mkdirp": "^3.0.1",
"p-defer": "^4.0.0",
"p-event": "^6.0.0",
"p-retry": "^6.2.0",
"p-wait-for": "^5.0.2",
"protons": "^7.5.0",
"sinon": "^18.0.1",
"sinon-ts": "^2.0.0",
"time-cache": "^0.3.0"
},
"engines": {
"npm": ">=8.7.0"
},
"eslintConfig": {
"extends": "ipfs",
"ignorePatterns": [
"src/message/rpc*",
"!.aegir.js"
]
},
"contributors": [
"Cayman <caymannava@gmail.com>",
"Vasco Santos <vasco.santos@moxy.studio>",
"Mikerah <mikerahqc@protonmail.com>",
"Tuyen Nguyen <vutuyen2636@gmail.com>",
"Alex Potsides <alex@achingbrain.net>",
"Marin Petrunić <marin.petrunic@gmail.com>",
"Lion - dapplion <35266934+dapplion@users.noreply.github.com>",
"Gregory Markou <16929357+GregTheGreek@users.noreply.github.com>",
"Alan Shaw <alan.shaw@protocol.ai>",
"Tuyen <tuyen@wetrust.io>",
"Jacob Heun <jacobheun@gmail.com>",
"Patrick Michot <k0m0d0tr0n@gmail.com>",
"chainsafe <aidan@chainsafe.io>",
"Hugo Dias <hugomrdias@gmail.com>",
"Franck Royer <franck@royer.one>",
"ChainSafe <superadmin@chainsafe.io>"
],
"sideEffects": false
}