Add npm script to run eslint

This commit is contained in:
Mathias Schreck
2016-08-16 19:40:39 +02:00
parent ba937f89fa
commit 159da18e9f
2 changed files with 3 additions and 1 deletions

3
.gitignore vendored
View File

@@ -16,6 +16,7 @@ provision.sh
*.komodoproject
.DS_Store
feeds/recent.rss
.eslintcache
logs/
@@ -51,4 +52,4 @@ tx.exe
.transifexrc
##Coverage output
coverage
coverage

View File

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