Merge pull request #129 from feross/app-size

Shrink Electron bundle by MBs!
This commit is contained in:
Nate Goldman
2016-03-10 19:25:10 -08:00
8 changed files with 34 additions and 12 deletions

View File

@@ -49,7 +49,8 @@
"scripts": {
"cleanup": "node ./bin/cleanup.js",
"debug": "DEBUG=* electron .",
"package": "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 .",
"test": "standard",
"update-authors": "./bin/update-authors.sh"