diff options
-rw-r--r-- | index.js | 2 | ||||
-rw-r--r-- | package.json | 7 |
2 files changed, 1 insertions, 8 deletions
@@ -28,7 +28,7 @@ inherits(WebTorrent, EventEmitter) * '0.16.1' -> '0016' * '1.2.5' -> '0102' */ -var VERSION = (require('./package.json').version || '__VERSION__') +var VERSION = require('./package.json').version .match(/([0-9]+)/g).slice(0, 2).map(zeroFill(2)).join('') /** diff --git a/package.json b/package.json index 3fd27ee..38cd443 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ }, "browser": { "./lib/fs-storage": false, - "./package.json": false, "./server": false, "addr-to-ip-port": false, "bittorrent-dht/client": false, @@ -21,11 +20,6 @@ "simple-get": false, "ut_pex": false }, - "browserify": { - "transform": [ - "browserify-versionify" - ] - }, "bugs": { "url": "https://github.com/feross/webtorrent/issues" }, @@ -35,7 +29,6 @@ "bittorrent-dht": "^3.0.0", "bittorrent-swarm": "^1.0.0", "block-stream": "0.0.7", - "browserify-versionify": "^1.0.2", "clivas": "^0.1.4", "create-torrent": "^3.4.0", "debug": "^2.1.0", |