Run eslint as part of npm test

This commit is contained in:
Mathias Schreck
2016-08-16 19:41:02 +02:00
parent 159da18e9f
commit 824c6d9362

View File

@@ -12,6 +12,7 @@
"scripts": {
"start": "node loader.js",
"lint": "eslint --cache .",
"pretest": "npm run lint",
"test": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- ./tests -t 10000"
},
"dependencies": {