-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.45 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.45 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
{
"name": "@browser-network/network",
"version": "0.4.0",
"description": "A WebRTC based direct peer to peer network in the browser.",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"engines": {
"node": ">=22.15.0"
},
"files": [
"dist/**/*",
"umd/**/*"
],
"scripts": {
"clean": "shx rm -rf dist build umd; shx mkdir umd",
"compile:ts": "tsc",
"compile:pack": "rollup --config rollup.config.mjs",
"compile:pack:min": "echo 'Minified UMD output is produced by compile:pack'",
"build": "npm run clean; npm-run-all compile:**",
"build:watch": "nodemon -e ts,json -i dist -i build -i umd -x 'npm run compile:ts && npm run compile:pack'",
"test": "sh -c '(cd ../switchboard && npm run build >/dev/null && PORT=5678 node dist/index.js >/dev/null 2>&1) & switchboard=$!; trap \"kill $switchboard 2>/dev/null\" EXIT; sleep 1; ./node_modules/.bin/tap --ts --no-timeout --no-coverage test/*.test.ts'",
"test:watch": "nodemon -e ts -w test/ -x 'npm run test'",
"start:dev": "node serve.js & npm run build:watch",
"release": "npm run build && np --no-cleanup --no-tests --no-yarn --message=\"New release! Version: %s\""
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/browser-network/network.git"
},
"publishConfig": {
"access": "public"
},
"author": "Aaron Sullivan (aasullivan1618@gmail.com)",
"homepage": "https://github.com/browser-network/network#readme",
"keywords": [
"distributed",
"browser",
"network",
"decentralized",
"peer",
"p2p",
"webrtc",
"crypto",
"cryptographic"
],
"license": "MIT",
"dependencies": {
"@browser-network/crypto": "file:../crypto",
"axios": "1.20.0",
"events": "3.3.0",
"simple-peer": "^9.11.1",
"uuid": "11.1.1",
"wrtc": "npm:@roamhq/wrtc@0.10.0"
},
"devDependencies": {
"@rollup/plugin-alias": "5.1.1",
"@rollup/plugin-commonjs": "28.0.9",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-replace": "6.0.2",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.3.0",
"@types/node": "^16",
"@types/simple-peer": "^9.11.4",
"@types/tap": "^15.0.6",
"@types/uuid": "^8.3.4",
"nodemon": "^2.0.15",
"np": "^7.6.0",
"npm-run-all": "^4.1.5",
"rollup": "4.52.5",
"shx": "^0.3.4",
"tap": "^16.0.1",
"tap-spec": "^5.0.0",
"ts-node": "^10.7.0",
"tslib": "2.8.1",
"typescript": "^4.4.4"
}
}