Run test script as part of the pre-commit hook

Now that we have added more unit testing, it will be beneficial to
run the unit test script prior to check in. Eventually, we will want
this to be part of the CI build process since Git pre-hooks can be
avoided.

Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: I59aad81a470176d2f6a5afeb130661c642f4d259
diff --git a/package.json b/package.json
index 38f56ec..e020bb3 100644
--- a/package.json
+++ b/package.json
@@ -63,7 +63,7 @@
     "node": ">=12.14.1"
   },
   "gitHooks": {
-    "pre-commit": "lint-staged"
+    "pre-commit": "lint-staged && vue-cli-service test:unit"
   },
   "lint-staged": {
     "*.{js,vue}": [