-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.7 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.7 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
{
"name": "p2pt",
"version": "1.6.2",
"description": "WebRTC P2P connections with WebTorrent trackers as signalling server",
"main": "src/node.js",
"type": "module",
"exports": {
".": {
"browser": "./src/p2pt.js",
"node": "./src/node.js",
"types": "./src/p2pt.d.ts",
"import": "./src/p2pt.js",
"require": "./src/node.js"
},
"./dist": {
"types": "./dist/p2pt.d.ts",
"import": "./dist/p2pt.es.js",
"require": "./dist/p2pt.cjs"
},
"./iife": {
"types": "./dist/p2pt.d.ts",
"import": "./dist/p2pt.iife.js",
"require": "./dist/p2pt.iife.js"
}
},
"scripts": {
"trackers": "node start-trackers.js",
"test-browser": "echo 'Use \"npm run start-trackers, then npm run dev\" and open http://127.0.0.1:5173/test/index.html in browser'",
"test-node": "node test/node.js",
"test-without-tracker-start": "npm run test-node && npm run test-browser",
"test": "start-server-and-test 'node start-trackers.js' 5001 test-without-tracker-start",
"dev": "vite",
"build": "vite build"
},
"dependencies": {
"bittorrent-tracker": "^11.2.2",
"uint8-util": "^2.2.2"
},
"optionalDependencies": {
"@roamhq/wrtc": "^0.9.0"
},
"devDependencies": {
"start-server-and-test": "^2.0.0",
"vite": "^7.1.1",
"vite-plugin-node-polyfills": "^0.24.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/subins2000/p2pt.git"
},
"keywords": [
"webtorrent",
"p2p",
"simple-peer",
"peer"
],
"author": "subins2000",
"license": "MIT",
"bugs": {
"url": "https://github.com/subins2000/p2pt/issues"
},
"homepage": "https://github.com/subins2000/p2pt#readme"
}