add "npm run size" command
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user