diff --git a/package.json b/package.json index cf4963a5..3f9625f2 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "lint": "eslint .", "build": "webpack --config=config/webpack.prod.js", "build-library": "webpack --config=config/webpack.library.js", + "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/winamp.js)",