From c99f187d474eedab15a6192752f679911a577993 Mon Sep 17 00:00:00 2001
From: Christopher Willis-Ford <cwillisf@media.mit.edu>
Date: Tue, 26 Sep 2017 01:04:07 -0400
Subject: [PATCH] Adjust NPM test scripts as discussed with Ray

---
 package.json | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/package.json b/package.json
index c50b449d3..37ee52bdf 100644
--- a/package.json
+++ b/package.json
@@ -9,11 +9,11 @@
     "deploy": "touch build/.nojekyll && gh-pages -t -d build -m \"Build for $(git log --pretty=format:%H -n1)\"",
     "i18n:msgs": "node ./scripts/generate-locale-messages.js",
     "i18n:src": "babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/",
-    "lint": "eslint . --ext .js,.jsx",
     "start": "npm run i18n:msgs && webpack-dev-server",
-    "unit-test": "jest test[\\\\/]unit",
-    "integration-test": "jest --runInBand test[\\\\/]integration",
-    "test": "npm run lint && npm run unit-test && npm run integration-test",
+    "test": "npm run test:lint && npm run build && npm run test:unit && npm run test:integration",
+    "test:integration": "jest --runInBand test[\\\\/]integration",
+    "test:lint": "eslint . --ext .js,.jsx",
+    "test:unit": "jest test[\\\\/]unit",
     "watch": "webpack --progress --colors --watch"
   },
   "author": "Massachusetts Institute of Technology",
-- 
GitLab