diff --git a/package.json b/package.json
index 454524210b54d6149a624640f705954574809c55..aca596b87c2fd37097f0e8d1903673608fe874cf 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,8 @@
     "lintfix": "prettier --write --list-different . && yarn lint:js --fix",
     "prepare": "husky install",
     "test": "jest",
-    "build": "cross-env NODE_ENV=production rollup -c"
+    "build": "cross-env NODE_ENV=production rollup -c",
+    "install": "yarn build"
   },
   "lint-staged": {
     "*.{js,vue}": "eslint --cache",