-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
187 lines (187 loc) · 7.66 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"name": "@plebbit/plebbit-js",
"version": "0.0.4",
"type": "module",
"scripts": {
"build": "npm run clean && run-s build:node build:browser",
"build:watch": "concurrently --raw \"tsc --project config/tsconfig.json --watch\" \"node config/build-browser --watch\"",
"build:node": "tsc --project config/tsconfig.json",
"build:node:watch": "tsc --project config/tsconfig.json --watch",
"build:browser": "node config/build-browser",
"build:browser:watch": "node config/build-browser --watch --debug",
"webpack": "webpack --mode development --config config/webpack.config.js --stats-error-details",
"webpack:watch": "while true; do webpack watch --mode development --config config/webpack.config.js; sleep 1; done",
"test": "run-s test:node test:browser:chrome test:browser:firefox",
"test:node": "mocha --forbid-only --bail --recursive --config config/.mocharc.json test/",
"test:node:rpc": "USE_RPC=1 mocha --forbid-only --exit --bail --recursive --config config/.mocharc.json test/node test/node-and-browser",
"test:node:parallel:rpc": "USE_RPC=1 mocha --forbid-only --parallel --recursive --exit --config config/.mocharc.json test/node test/node-and-browser",
"test:mocked:challenges": "mocha --forbid-only --bail --recursive --config config/.mocharc.json test/challenges",
"test:node:parallel:all": "mocha --forbid-only --bail --parallel --recursive --config config/.mocharc.json test/node test/node-and-browser",
"test:node:parallel:local": "mocha --forbid-only --parallel --recursive --config config/.mocharc.json test/node",
"test:node:local": "mocha --forbid-only --exit --recursive --bail --config config/.mocharc.json test/node",
"test:node:parallel:remote": "mocha --forbid-only --parallel --recursive --config config/.mocharc.json test/node-and-browser",
"test:node:remote": "mocha --forbid-only --bail --exit --recursive --config config/.mocharc.json test/node-and-browser",
"test:browser:chrome": "CHROME_BIN=$(which chrome || which chromium) FIREFOX_BIN='' karma start config/karma.conf.cjs",
"test:browser:firefox": "FIREFOX_BIN=$(which firefox) CHROME_BIN='' karma start config/karma.conf.cjs",
"test:server:node": "node --es-module-specifier-resolution=node test/server/test-server.js",
"test:server:node:rpc": "USE_RPC=1 node --es-module-specifier-resolution=node test/server/test-server.js",
"test:server:wait-on": "wait-on http://localhost:14952 --timeout 300000",
"clean": "rimraf dist",
"prettier": "prettier {src,test,config}/**/*.{js,ts} --write --config config/prettier.config.js",
"test:prettier": "prettier-check {src,test,config}/**/*.{js,ts} --config config/prettier.config.js"
},
"main": "dist/node/index.js",
"types": "dist/node/index.d.ts",
"browser": {
".": "dist/browser/index.js"
},
"files": [
"dist/"
],
"dependencies": {
"@bonfida/spl-name-service": "2.4.2",
"@chainsafe/libp2p-gossipsub": "12.0.0",
"@chainsafe/libp2p-noise": "15.0.0",
"@chainsafe/libp2p-yamux": "6.0.2",
"@keyv/sqlite": "3.6.7",
"@libp2p/autonat": "1.0.12",
"@libp2p/bootstrap": "10.0.15",
"@libp2p/circuit-relay-v2": "^1.0.15",
"@libp2p/identify": "1.0.14",
"@libp2p/kad-dht": "12.0.7",
"@libp2p/mplex": "10.0.15",
"@libp2p/peer-id-factory": "4.0.6",
"@libp2p/webrtc": "4.0.19",
"@libp2p/webtransport": "4.0.19",
"@plebbit/plebbit-logger": "github:plebbit/plebbit-logger#355a96d7659ed820047980049dfa627d30d83a69",
"@plebbit/proper-lockfile": "github:plebbit/node-proper-lockfile#7fd6332117340c1d3d98dd0afee2d31cc06f72b8",
"@types/proper-lockfile": "4.1.2",
"@types/uuid": "8.3.4",
"assert": "2.1.0",
"better-sqlite3": "9.3.0",
"buffer": "6.0.3",
"captcha-canvas": "3.2.1",
"cbor": "9.0.1",
"debounce": "1.2.1",
"err-code": "3.0.1",
"ethers": "6.13.4",
"ext-name": "5.0.0",
"file-type": "16.5.4",
"hpagent": "1.2.0",
"jose": "4.11.0",
"js-sha256": "0.9.0",
"js-sha512": "0.9.0",
"keyv": "4.5.4",
"knex": "3.1.0",
"kubo-rpc-client": "5.0.1",
"libp2p": "1.2.1",
"libp2p-crypto": "0.21.2",
"limiter-es6-compat": "2.1.2",
"localforage": "1.10.0",
"lodash.merge": "4.6.2",
"lru-cache": "10.1.0",
"open-graph-scraper": "6.3.3",
"p-limit": "4.0.0",
"p-timeout": "6.1.2",
"peer-id": "0.16.0",
"probe-image-size": "7.2.3",
"remeda": "1.57.0",
"retry": "0.13.1",
"rpc-websockets": "7.10.0",
"safe-stable-stringify": "2.4.3",
"sha1-uint8array": "0.10.7",
"skia-canvas": "1.0.2",
"tcp-port-used": "1.0.2",
"tiny-typed-emitter": "2.1.0",
"tinycache": "1.1.2",
"ts-custom-error": "3.3.1",
"typestub-ipfs-only-hash": "4.0.0",
"uuid": "9.0.1",
"viem": "2.21.57",
"zod": "3.23.8"
},
"devDependencies": {
"@babel/core": "7.23.7",
"@babel/plugin-syntax-import-assertions": "7.23.3",
"@babel/preset-env": " 7.23.9",
"@types/better-sqlite3": "7.6.9",
"@types/debounce": "1.2.1",
"@types/glob": "8.1.0",
"@types/lodash": "4.17.13",
"@types/lodash.merge": "4.6.9",
"@types/mocha": "10.0.6",
"@types/node": "18.19.0",
"@types/node-forge": "1.3.11",
"@types/probe-image-size": "7.2.4",
"@types/tcp-port-used": "1.0.4",
"@types/url-parse": "1.4.11",
"@types/webpack": "5.28.5",
"babel-loader": "9.1.3 ",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"chokidar": "3.5.3",
"concurrently": "7.5.0",
"karma": "6.4.2",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.1",
"karma-firefox-launcher": "2.1.2",
"karma-mocha": "2.0.1",
"karma-parallel": "0.3.1",
"karma-sinon": "1.0.5",
"karma-spec-reporter": "0.0.36",
"kubo": "0.32.1",
"mocha": "10.2.0",
"npm-run-all": "4.1.5",
"prettier": "3.2.4",
"prettier-check": "2.0.0",
"rimraf": "3.0.2",
"sinon": "17.0.1",
"socket.io": "4.7.4",
"socket.io-client": "4.7.4",
"string-replace-loader": "3.1.0",
"tempy": "1.0.1",
"typescript": "5.5.4",
"wait-on": "6.0.1",
"webpack": "5.90.0",
"webpack-cli": "5.1.4",
"webpack-watch-files-plugin": "1.2.1"
},
"description": "plebbit.js will be an NPM module to wrap around the IPFS APIs used by Plebbit. It will be used in all clients: CLI, Electron (Desktop GUI) and Web.",
"repository": {
"type": "git",
"url": "git+https://github.com/plebbit/plebbit-js.git"
},
"keywords": [
"plebbit",
"plebbit-js",
"decentralized",
"p2p",
"peer-to-peer",
"social",
"social-network",
"blockchain",
"crypto",
"cryptocurrency",
"ipfs",
"web3",
"decentralized-web",
"reddit-alternative",
"social-media",
"distributed",
"content-sharing",
"community",
"forums",
"discussion",
"javascript",
"nodejs"
],
"author": "Esteban Abaroa, Rinse",
"license": "GPL-2.0-only",
"bugs": {
"url": "https://github.com/plebbit/plebbit-js/issues"
},
"homepage": "https://github.com/plebbit/plebbit-js#readme",
"engines": {
"node": ">=18.0.0"
}
}