add "npm run size" command
This commit is contained in:
parent
a2fdea2908
commit
63598cf0ab
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue