changeset 251:fd979ea2dc11

Add build:skiptests script Reviewed-by: jkang Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-October/025435.html
author Andrew Azores <aazores@redhat.com>
date Tue, 17 Oct 2017 15:14:56 -0400
parents e3181fa39b96
children 0a0650ed8a8a
files package.json
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/package.json	Tue Oct 17 11:07:23 2017 -0400
+++ b/package.json	Tue Oct 17 15:14:56 2017 -0400
@@ -108,8 +108,10 @@
     "lint-itests": "eslint -c .eslintrc.test.yaml integration-test --ext .spec.js || npm run lint-itest-checkstyle",
     "lint-itests-checkstyle": "eslint -c .eslintrc.test.yaml --ext .spec.js -f checkstyle -o checkstyle/checkstyle-itest.xml src",
     "lint": "npm run lint-ts && npm run lint-js && npm run lint-html",
-    "prebuild": "npm run clean && npm run license-check && npm run lint",
-    "build": "webpack --bail --progress --profile",
+    "prebuild": "npm run license-check && npm run lint",
+    "build": "npm run build:skiptests",
+    "prebuild:skiptests": "npm run clean",
+    "build:skiptests": "webpack --bail --progress --profile",
     "postbuild": "npm test",
     "stop-mockapi": "forever stop --silent mock-api/mockapi.server.js || true",
     "prestart-mockapi": "npm run stop-mockapi",