From 6d9bc147289a028db42096515606c32dcb435837 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Tue, 12 Nov 2019 16:10:14 -0800 Subject: Unbreak built file --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index eed9b36..30a7c17 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ }, "devDependencies": { "airtap": "^2.0.3", + "babel-minify": "^0.5.1", "bittorrent-tracker": "^9.14.0", "browserify": "^16.4.0", "disc": "^1.3.3", @@ -88,7 +89,6 @@ "serve-static": "^1.11.1", "standard": "*", "tape": "^4.6.0", - "tinyify": "^2.5.1", "webtorrent-fixtures": "^1.5.0" }, "engines": { @@ -118,10 +118,10 @@ "url": "git://github.com/webtorrent/webtorrent.git" }, "scripts": { - "build": "browserify --standalone WebTorrent --plugin tinyify . > webtorrent.min.js", + "build": "browserify --standalone WebTorrent . | minify > 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-disc": "browserify --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", -- cgit v1.2.3