-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.01 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
{
"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",
"files": [
"dist/**/*",
"umd/**/*"
],
"scripts": {
"clean": "shx rm -rf dist build umd; shx mkdir umd",
"compile:ts": "tsc",
"compile:pack": "browserify dist/src/index.js -o umd/network.js -s Network",
"compile:pack:min": "uglifyjs umd/network.js --compress -o umd/network.min.js",
"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": "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://[email protected]/browser-network/network.git"
},
"publishConfig": {
"access": "public"
},
"author": "Aaron Sullivan ([email protected])",
"homepage": "https://github.com/browser-network/network#readme",
"keywords": [
"distributed",
"browser",
"network",
"decentralized",
"peer",
"p2p",
"webrtc",
"crypto",
"cryptographic"
],
"license": "MIT",
"dependencies": {
"@browser-network/crypto": "^0.0.4",
"@mapbox/node-pre-gyp": "^1.0.9",
"axios": "^0.26.1",
"simple-peer": "^9.11.1",
"uuid": "^8.3.2",
"wrtc": "^0.4.7"
},
"devDependencies": {
"@types/node": "^16",
"@types/simple-peer": "^9.11.4",
"@types/tap": "^15.0.6",
"@types/uuid": "^8.3.4",
"browserify": "^17.0.0",
"nodemon": "^2.0.15",
"np": "^7.6.0",
"npm-run-all": "^4.1.5",
"shx": "^0.3.4",
"tap": "^16.0.1",
"tap-spec": "^5.0.0",
"ts-node": "^10.7.0",
"typescript": "^4.4.4",
"uglify-js": "^3.15.3"
}
}