From 3a67cd1d97ae3260de7d4145787dfded913ce43f Mon Sep 17 00:00:00 2001
From: Dan Jones <dan.jones@noc.ac.uk>
Date: Thu, 12 Jan 2023 09:34:17 +0000
Subject: [PATCH] fix: run build on install

---
 package.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 4545242..aca596b 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",
-- 
GitLab