Clean on prepublish (#5097)

Otherwise you can make broken releases on case insensitive file
systems
pull/5104/head
David Baker 2017-09-21 18:06:41 +01:00 committed by Richard van der Hoff
parent 0eefae031f
commit dbd4cf8756
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@
"lint": "eslint src/", "lint": "eslint src/",
"lintall": "eslint src/ test/", "lintall": "eslint src/ test/",
"clean": "rimraf lib webapp electron_app/dist", "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": "karma start --single-run=true --autoWatch=false --browsers ChromeHeadless",
"test-multi": "karma start" "test-multi": "karma start"
}, },