Ensure that build folder gets generated before npm publish

So users using `npm install -g webtorrent-desktop` will always get a
working version.
This commit is contained in:
Feross Aboukhadijeh
2016-08-04 21:05:03 -07:00
parent 29f8ef6b72
commit 9b36f9cb22

View File

@@ -90,6 +90,7 @@
"clean": "node ./bin/clean.js",
"open-config": "node ./bin/open-config.js",
"package": "node ./bin/package.js",
"prepublish": "npm run build",
"start": "npm run build && electron .",
"test": "standard && node ./bin/check-deps.js",
"update-authors": "./bin/update-authors.sh"