Add scripts for running linting

This commit is contained in:
Alasdair Smith 2018-02-23 11:41:21 +00:00
parent 3b3f967198
commit 325f91ed2e
2 changed files with 5 additions and 1 deletions

View file

@ -222,6 +222,9 @@ ci:
MOCHA_ARGS="--reporter tap" \
$(MAKE) test
lint:
npm -q run lint
.PHONY:
all add install update test test_unit test_frontend test_acceptance \
test_acceptance_start_service test_acceptance_stop_service \

View file

@ -20,7 +20,8 @@
"start": "npm -q run compile && node app.js",
"nodemon": "nodemon --config nodemon.json",
"nodemon:frontend": "nodemon --config nodemon.frontend.json",
"webpack": "webpack-dev-server --config webpack.config.dev.js"
"webpack": "webpack-dev-server --config webpack.config.dev.js",
"lint": "eslint -f unix ."
},
"dependencies": {
"archiver": "0.9.0",