add eslint to travis

This commit is contained in:
Iuri Matias 2017-12-14 10:26:39 -05:00
parent c0c0eb0550
commit 84641f4056
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"version": "2.6.1",
"description": "Embark is a framework that allows you to easily develop and deploy DApps",
"scripts": {
"lint": "./node_modules/eslint/bin/eslint.js lib/",
"lint": "./node_modules/.bin/eslint lib/",
"test": "mocha test/ --no-timeouts",
"testdapp": "cd test_app/ && npm install && ../bin/embark test",
"fulltest": "npm run lint && npm run test && npm run testdapp",
@ -65,6 +65,7 @@
"homepage": "https://github.com/iurimatias/embark-framework",
"license": "MIT",
"devDependencies": {
"eslint": "4.13.1",
"grunt": "^1.0.1",
"grunt-cli": "^1.2.0",
"grunt-contrib-clean": "^1.0.0",