fix: clean lib folder before publishing (#577)

This commit is contained in:
Joel Einbinder 2020-01-22 20:25:52 -08:00 committed by GitHub
parent 717159094c
commit b1de6cec40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,8 @@
"fcoverage": "cross-env COVERAGE=true BROWSER=firefox npm run unit",
"wcoverage": "cross-env COVERAGE=true BROWSER=webkit npm run unit",
"tsc": "tsc -p .",
"clean": "rimraf lib",
"prepublishOnly": "npm run clean",
"build": "node utils/runWebpack.js --mode='development' && tsc -p .",
"watch": "node utils/runWebpack.js --mode='development' --watch --silent | tsc -w -p .",
"apply-next-version": "node utils/apply_next_version.js",