From dbd4cf875635ccb15ef6f63dc5aadea23e763a43 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 21 Sep 2017 18:06:41 +0100 Subject: [PATCH] Clean on prepublish (#5097) Otherwise you can make broken releases on case insensitive file systems --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 083bd946..5e0f56e5 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "lint": "eslint src/", "lintall": "eslint src/ test/", "clean": "rimraf lib webapp electron_app/dist", - "prepublish": "npm run build:compile", + "prepublish": "npm run clean && npm run build:compile", "test": "karma start --single-run=true --autoWatch=false --browsers ChromeHeadless", "test-multi": "karma start" },