diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 56 |
1 files changed, 33 insertions, 23 deletions
diff --git a/package.json b/package.json index 1f452ed..eaea8b0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "webtorrent", "description": "Streaming torrent client", - "version": "0.103.1", + "version": "0.107.10", "author": { "name": "WebTorrent, LLC", "email": "feross@webtorrent.io", @@ -25,24 +25,34 @@ "bugs": { "url": "https://github.com/webtorrent/webtorrent/issues" }, + "chromeapp": { + "fs-chunk-store": "memory-chunk-store", + "http": "http-node", + "load-ip-set": false, + "net": "chrome-net", + "os": false + }, "dependencies": { "addr-to-ip-port": "^1.4.2", - "bitfield": "^2.0.0", + "bitfield": "^3.0.0", "bittorrent-dht": "^9.0.0", "bittorrent-protocol": "^3.0.0", - "chunk-store-stream": "^3.0.1", - "create-torrent": "^3.33.0", + "chrome-net": "^3.3.2", + "chunk-store-stream": "^4.0.0", + "create-torrent": "^4.0.0", "debug": "^4.1.0", "end-of-stream": "^1.1.0", - "fs-chunk-store": "^1.6.2", + "escape-html": "^1.0.3", + "fs-chunk-store": "^2.0.0", + "http-node": "github:feross/http-node#cddd2872f0020ecf5016f326cf5e58c965eef52a", "immediate-chunk-store": "^2.0.0", "load-ip-set": "^2.1.0", "memory-chunk-store": "^1.2.0", "mime": "^2.4.0", - "multistream": "^2.0.5", + "multistream": "^4.0.0", "package-json-versionify": "^1.0.2", "parse-numeric-range": "^0.0.2", - "parse-torrent": "^6.1.2", + "parse-torrent": "^7.0.0", "pump": "^3.0.0", "random-iterate": "^1.0.1", "randombytes": "^2.0.3", @@ -51,40 +61,38 @@ "render-media": "^3.0.0", "run-parallel": "^1.1.6", "run-parallel-limit": "^1.0.3", - "safe-buffer": "^5.0.1", "simple-concat": "^1.0.0", "simple-get": "^3.0.1", "simple-peer": "^9.0.0", - "simple-sha1": "^2.0.8", + "simple-sha1": "^3.0.0", "speedometer": "^1.0.0", - "stream-to-blob": "^1.0.0", - "stream-to-blob-url": "^2.1.0", + "stream-to-blob": "^2.0.0", + "stream-to-blob-url": "^3.0.0", "stream-with-known-length-to-buffer": "^1.0.0", "torrent-discovery": "^9.1.1", "torrent-piece": "^2.0.0", "uniq": "^1.0.1", "unordered-array-remove": "^1.0.2", "ut_metadata": "^3.3.0", - "ut_pex": "^1.1.1" + "ut_pex": "^2.0.0" }, "devDependencies": { - "airtap": "2.0.2", - "babel-minify": "^0.5.0", - "bittorrent-tracker": "^9.4.0", - "brfs": "^2.0.0", - "browserify": "^16.2.3", - "cross-spawn": "^6.0.3", - "electron": "^4.0.0", + "airtap": "^2.0.3", + "bittorrent-tracker": "^9.14.0", + "browserify": "^16.4.0", + "disc": "^1.3.3", + "electron": "^6.0.1", "finalhandler": "^1.0.0", "network-address": "^1.1.0", "run-series": "^1.1.4", "serve-static": "^1.11.1", "standard": "*", "tape": "^4.6.0", + "tinyify": "^2.5.1", "webtorrent-fixtures": "^1.5.0" }, "engines": { - "node": ">=4" + "node": ">=10" }, "homepage": "https://webtorrent.io", "keywords": [ @@ -110,9 +118,11 @@ "url": "git://github.com/webtorrent/webtorrent.git" }, "scripts": { - "build": "browserify -s WebTorrent -e ./ | minify > webtorrent.min.js", - "build-debug": "browserify -s WebTorrent -e ./ > webtorrent.debug.js", - "size": "npm run build && cat webtorrent.min.js | gzip | wc -c", + "build": "browserify --standalone WebTorrent --plugin tinyify . > webtorrent.min.js", + "build-debug": "browserify --standalone WebTorrent . > webtorrent.debug.js", + "size": "npm run size-js && npm run size-disc", + "size-disc": "browserify --plugin tinyify --full-paths . | discify --open", + "size-js": "npm run build && cat webtorrent.min.js | gzip | wc -c", "test": "standard && npm run test-node && npm run test-browser", "test-browser": "airtap -- test/*.js test/browser/*.js", "test-browser-local": "airtap --local -- test/*.js test/browser/*.js", |