diff --git a/package.json b/package.json index 752a9ce..c42b9a2 100755 --- a/package.json +++ b/package.json @@ -51,7 +51,8 @@ "benchmark": "jest /benchmark", "postbenchmark": "open -a Chrome benchmark/chart/index.html", "prebuild": "rm -rf lib", - "build": "tsc" + "build": "tsc", + "prepublishOnly": "yarn build" }, "files": [ "lib"