diff --git a/package.json b/package.json index d9a8a67..eed03d8 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "lib/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", + "prepublish": "npm run build", "build": "babel src/ -d lib/ --source-maps", "build:watch": "babel src/ --out-dir lib/ --source-maps --watch" },