diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2019-11-13 03:10:14 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2019-11-13 03:10:14 +0300 |
commit | 6d9bc147289a028db42096515606c32dcb435837 (patch) | |
tree | 2913d128c899d91b06a6000b60194adeea852f2a /package.json | |
parent | e8c42fd2c4c59aa28f47f75a44dca9d58891815f (diff) |
Unbreak built file
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
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", |