From 9b36f9cb220ab43364bc150b15dfeef9eec1f77f Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 4 Aug 2016 21:05:03 -0700 Subject: [PATCH] Ensure that build folder gets generated before npm publish So users using `npm install -g webtorrent-desktop` will always get a working version. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 18c74357..cef10d6f 100644 --- a/package.json +++ b/package.json @@ -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"