Clean on prerelease

To avoid any further problems where we ship build files with the
wrong capitalisation because npm is dumb
This commit is contained in:
David Baker 2017-09-21 17:39:34 +01:00
parent f27750e03e
commit a0b4d8a9f8

View file

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