add "npm run size" command
This commit is contained in:
@@ -50,6 +50,7 @@
|
|||||||
"cleanup": "node ./bin/cleanup.js",
|
"cleanup": "node ./bin/cleanup.js",
|
||||||
"debug": "DEBUG=* electron .",
|
"debug": "DEBUG=* electron .",
|
||||||
"package": "npm prune && npm dedupe && node ./bin/package.js",
|
"package": "npm prune && npm dedupe && node ./bin/package.js",
|
||||||
|
"size": "npm run package -- --darwin && du -ch dist/WebTorrent-darwin-x64 | grep total",
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"test": "standard",
|
"test": "standard",
|
||||||
"update-authors": "./bin/update-authors.sh"
|
"update-authors": "./bin/update-authors.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user