Add lint script in package.json

This commit is contained in:
andre keedy 2016-01-15 17:20:57 -05:00
parent 13b48f3326
commit 8836345949

View File

@ -30,6 +30,7 @@
"scripts": {
"postinstall": "scripts/post-install.sh",
"start": "start shovel",
"test": "istanbul cover -x '**/test/**' node_modules/mocha/bin/_mocha test/api/* test/services/* test/controllers/* && istanbul report cobertura"
"test": "istanbul cover -x '**/test/**' node_modules/mocha/bin/_mocha test/api/* test/services/* test/controllers/* && istanbul report cobertura",
"lint": "./node_modules/eslint/bin/eslint.js controllers/Shovel.js lib/*"
}
}