diff --git a/index.js b/index.js index d7f0bff..5a0026f 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,6 @@ var BITFIELD_GROW = 1000 var PIECE_LENGTH = 16 * 1024 module.exports = function (metadata) { - inherits(ut_metadata, EventEmitter) function ut_metadata (wire) { diff --git a/package.json b/package.json index 163c5ec..1f3d489 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "bittorrent-protocol": "^2.0.0", "brfs": "^1.2.0", "parse-torrent": "^5.6.0", + "standard": "^5.4.1", "tape": "^4.0.0" }, "keywords": [ @@ -41,7 +42,7 @@ "url": "git://github.com/feross/ut_metadata.git" }, "scripts": { - "test": "tape test/*.js" + "test": "standard && tape test/*.js" }, "testling": { "files": "test/*.js",