diff --git a/package.json b/package.json index bbc08a3..ae67bb9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "test": "jest", "clean": "rm lib/*", - "build": "npm run clean; babel src/ --out-dir lib" + "build": "npm run clean; babel src/ --out-dir lib", + "prepublishOnly": "npm run build" }, "files": [ "index.js",