Fix npm run weight

This commit is contained in:
Jordan Eldredge 2018-04-14 10:56:09 -07:00
parent c0397b2eaf
commit fac932b3d6

View file

@ -14,7 +14,7 @@
"prepublishOnly": "npm run build-library",
"serve": "http-server ./built",
"start": "webpack-dev-server --config=config/webpack.dev.js",
"weight": "echo 'FIXME: Need to find cache-busted file' || (npm run build && gzip-size built/webamp.bundle.min.js)",
"weight": "npm run build-library > /dev/null && gzip-size built/webamp.bundle.min.js",
"test": "jest --coverage",
"travis-tests": "jest --coverage && npm run build",
"tdd": "jest --watch",