-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
88 lines (88 loc) · 2.71 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
{
"name": "webpeerjs",
"version": "0.1.10",
"description": "WebPEER.js is Decentralized P2P network overlay inside browser.",
"main": "./dist/umd/webpeerjs.js",
"module": "./src/webpeerjs.js",
"exports": {
".": {
"import": "./src/webpeerjs.js",
"require": "./dist/umd/webpeerjs.js"
}
},
"files": [
"dist/",
"src/",
"LICENSE"
],
"scripts": {
"start": "npm run dev",
"dev": "vite serve test",
"demo": "vite serve demo",
"eslint": "eslint -c ./config/eslint.config.mjs ./src",
"eslint:fix": "eslint -c ./config/eslint.config.mjs ./src --fix",
"removedir": "node -e \"var fs = require('fs'); try{process.argv.slice(1).map((fpath) => fs.rmdirSync(fpath, { recursive: true }))}catch(err){console.log(`Dist not found`)}; process.exit(0);\"",
"build-all": "tsc -p config/tsconfig-rollup.json && rollup -c temp/config/rollup.config.build.js && echo {\"type\": \"commonjs\"}>dist\\umd\\package.json && echo {\"type\": \"module\"}>dist\\esm\\package.json",
"build-types": "tsc -p config/tsconfig-esm.json",
"build": "npm run removedir dist temp && npm run build-all",
"test": "cd test && cd project && npm start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nuzulul/webpeerjs.git"
},
"keywords": [
"webpeer",
"p2p",
"p2p-network",
"webpeer-network",
"ipfs",
"libp2p",
"peer",
"peer-to-peer",
"decentralized",
"browser-to-browser",
"distributed",
"serverless"
],
"author": {
"name": "Nuzulul Zulkarnain",
"url": "https://nuzulul.github.io"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/nuzulul/webpeerjs/issues"
},
"homepage": "https://github.com/nuzulul/webpeerjs#readme",
"dependencies": {
"@chainsafe/libp2p-gossipsub": "^13.0.0",
"@chainsafe/libp2p-noise": "^15.0.0",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@helia/delegated-routing-v1-http-api-client": "^3.0.1",
"@libp2p/circuit-relay-v2": "^1.0.24",
"@libp2p/dcutr": "^1.1.0",
"@libp2p/identify": "^2.0.2",
"@libp2p/kad-dht": "^12.0.17",
"@libp2p/peer-id": "^4.1.2",
"@libp2p/pubsub-peer-discovery": "^10.0.2",
"@libp2p/simple-metrics": "^1.0.2",
"@libp2p/webrtc": "^4.1.0",
"@libp2p/websockets": "^8.1.0",
"@libp2p/webtransport": "^4.0.32",
"datastore-idb": "^2.1.9",
"libp2p": "^1.6.0"
},
"devDependencies": {
"@eslint/js": "^9.4.0",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"eslint": "^9.4.0",
"globals": "^15.3.0",
"rollup": "^4.18.0",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.11"
}
}