From 8f77860805cd44f7efb47c7fcddfab79189a2200 Mon Sep 17 00:00:00 2001 From: Aaron Boodman Date: Tue, 3 Nov 2015 17:43:51 -0800 Subject: [PATCH] Improve Splore build experience --- clients/splore/README.md | 4 ++-- clients/splore/link.sh | 1 + js2/package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/clients/splore/README.md b/clients/splore/README.md index 0f549bfaa2..8ca24b3c56 100644 --- a/clients/splore/README.md +++ b/clients/splore/README.md @@ -9,8 +9,8 @@ This is a generic noms data explorer. ## Build -* `./link.sh` -* `npm install` +* `./link.sh` # only necessary first time, or if changes have happened in `js2` +* `npm install` # only necessary first time, or if deps have changed * `npm run build` ## Run diff --git a/clients/splore/link.sh b/clients/splore/link.sh index d64611d4c7..3c2dbc126b 100755 --- a/clients/splore/link.sh +++ b/clients/splore/link.sh @@ -1,4 +1,5 @@ pushd ../../js2 +npm install npm run build ./link.sh popd diff --git a/js2/package.json b/js2/package.json index 958daf7a92..23c6fb00f6 100644 --- a/js2/package.json +++ b/js2/package.json @@ -8,7 +8,7 @@ "isomorphic-fetch": "^2.2.0" }, "devDependencies": { - "babel": "^5.6.23", + "babel": "~5.6.23", "babel-eslint": "^4.1.3", "chai": "^3.2.0", "eslint": "^1.7.3",