From b9e0a7765549093c91d3b8281313dc4c2cf313ad Mon Sep 17 00:00:00 2001 From: Pete Richards Date: Tue, 1 Mar 2016 13:00:08 -0800 Subject: [PATCH] [CI] Run JSHINT after tests --- circle.yml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index eb88167f53..d163b3ee0c 100644 --- a/circle.yml +++ b/circle.yml @@ -13,3 +13,6 @@ deployment: branch: mobile heroku: appname: openmctweb-staging-deux +test: + post: + - npm run jshint --silent diff --git a/package.json b/package.json index c88861d0b0..c0afb1c9ce 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "scripts": { "start": "node app.js", "test": "karma start --single-run", - "jshint": "jshint platform example || exit 0", + "jshint": "jshint platform example", "watch": "karma start", "jsdoc": "jsdoc -c jsdoc.json -r -d target/docs/api", "otherdoc": "node docs/gendocs.js --in docs/src --out target/docs --suppress-toc 'docs/src/index.md|docs/src/process/index.md'",