add "npm run size" command

This commit is contained in:
Feross Aboukhadijeh
2016-03-10 18:48:36 -08:00
parent a2fdea2908
commit 63598cf0ab

View File

@@ -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"