Add npm script to run eslint

v1.18.x
Mathias Schreck 9 years ago
parent ba937f89fa
commit 159da18e9f

3
.gitignore vendored

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

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

Loading…
Cancel
Save