From 443fe54def715f0d5100d797b690f042d93e4337 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 8 Aug 2019 20:12:31 -0700 Subject: scripts: use verbose command flags --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package.json') 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", -- cgit v1.2.3