Clean on prerelease

To avoid any further problems where we ship build files with the
wrong capitalisation because npm is dumb
pull/21833/head
David Baker 2017-09-21 17:39:34 +01:00
parent f27750e03e
commit a0b4d8a9f8
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
"lint": "eslint src/",
"lintall": "eslint src/ test/",
"clean": "rimraf lib",
"prepublish": "npm run build && git rev-parse HEAD > git-revision.txt",
"prepublish": "npm run clean && npm run build && git rev-parse HEAD > git-revision.txt",
"test": "karma start --single-run=true --browsers ChromeHeadless",
"test-multi": "karma start"
},