diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2019-08-09 06:12:31 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2019-08-09 06:12:31 +0300 |
commit | 443fe54def715f0d5100d797b690f042d93e4337 (patch) | |
tree | 24c40a938ae1dab7b9bbbddd522d575ad73176ad | |
parent | d94283e49532518e7077022116e0d8f8cfeb02bb (diff) |
scripts: use verbose command flags
-rw-r--r-- | package.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json index 044d5e9..0570ae5 100644 --- a/package.json +++ b/package.json @@ -117,11 +117,11 @@ "url": "git://github.com/webtorrent/webtorrent.git" }, "scripts": { - "build-debug": "browserify -s WebTorrent -e ./ > webtorrent.debug.js", - "build": "browserify --plugin tinyify -s WebTorrent -e . > webtorrent.min.js", + "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-js": "npm run build && cat webtorrent.min.js | gzip | wc -c", "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", |