[CI] Run JSHINT after tests

This commit is contained in:
Pete Richards 2016-03-01 13:00:08 -08:00
parent d9b2034550
commit b9e0a77655
2 changed files with 4 additions and 1 deletions

View File

@ -13,3 +13,6 @@ deployment:
branch: mobile
heroku:
appname: openmctweb-staging-deux
test:
post:
- npm run jshint --silent

View File

@ -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'",