]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/blobdiff - package.json
run build before test
[thirdparty/foundation/foundation-sites.git] / package.json
index 5bf1165805ce88eefe37713bbcd743af4cdffdb6..d43642eef5ec277957604c13cf6fb179fb5aef97 100644 (file)
@@ -11,7 +11,8 @@
   "homepage": "https://get.foundation/sites",
   "scripts": {
     "start": "gulp",
-    "test": "yarn test:sass && yarn test:javascript:units && yarn test:bundle",
+    "build": "gulp build",
+    "test": "yarn build && yarn test:sass && yarn test:javascript:units && yarn test:bundle",
     "test:single-process": "yarn test:sass && yarn test:javascript:units:single-process && yarn test:bundle:single-process",
     "test:ci": "yarn test:sass && yarn test:javascript:ci",
     "test:ci:single-process": "yarn test:sass && yarn test:javascript:ci:single-process",