Mercurial > hg > thermostat-ng > web-client
changeset 255:caaf7994d26b
Reorder build targets
Previous build:skiptests patch caused "clean" script to be run after "lint"
script, with the net end result being that checkstyle coverage would never be
available.
Reviewed-by: jkang
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-October/025466.html
author | Andrew Azores <aazores@redhat.com> |
---|---|
date | Wed, 18 Oct 2017 17:12:47 -0400 |
parents | 9906199e8f0f |
children | 288f0c458eb6 |
files | package.json |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/package.json Wed Oct 18 14:19:15 2017 -0400 +++ b/package.json Wed Oct 18 17:12:47 2017 -0400 @@ -108,10 +108,11 @@ "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 license-check && npm run lint", - "build": "npm run build:skiptests", + "prebuild": "npm run clean && npm run license-check && npm run lint", + "build": "npm run build:compile", + "build:compile": "webpack --bail --progress --profile", "prebuild:skiptests": "npm run clean", - "build:skiptests": "webpack --bail --progress --profile", + "build:skiptests": "npm run build:compile", "postbuild": "npm test", "stop-mockapi": "forever stop --silent mock-api/mockapi.server.js || true", "prestart-mockapi": "npm run stop-mockapi",