From 63598cf0ab4aa4ef462f3aa1ef2261b5db70366b Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 10 Mar 2016 18:48:36 -0800 Subject: [PATCH] add "npm run size" command --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 7c5cf634..d778b731 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "cleanup": "node ./bin/cleanup.js", "debug": "DEBUG=* electron .", "package": "npm prune && npm dedupe && node ./bin/package.js", + "size": "npm run package -- --darwin && du -ch dist/WebTorrent-darwin-x64 | grep total", "start": "electron .", "test": "standard", "update-authors": "./bin/update-authors.sh"