package.json: add linting to test script

This commit is contained in:
William Boman 2015-10-26 02:06:33 +01:00
parent 8fdfd70c7e
commit 12ba15acf2

View file

@ -14,7 +14,7 @@
"scripts": {
"start": "node index",
"build": "grunt",
"test": "HOME=test/fixtures mocha test/**/*.js",
"test": "HOME=test/fixtures mocha test/**/*.js && npm run lint",
"lint": "eslint index.js Gruntfile.js src/ test/ client/ defaults/"
},
"keywords": [