Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2019-08-09 06:12:31 +0300
committerFeross Aboukhadijeh <feross@feross.org>2019-08-09 06:12:31 +0300
commit443fe54def715f0d5100d797b690f042d93e4337 (patch)
tree24c40a938ae1dab7b9bbbddd522d575ad73176ad /package.json
parentd94283e49532518e7077022116e0d8f8cfeb02bb (diff)
scripts: use verbose command flags
Diffstat (limited to 'package.json')
-rw-r--r--package.json6
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",