Adding linting and fixing linter warnings. Reducing timeouts to 7 seconds.

This commit is contained in:
Dmitry Blotsky
2015-12-02 19:20:44 -08:00
parent b11415da28
commit 0913325be5
5 changed files with 255 additions and 135 deletions
+10 -1
View File
@@ -18,6 +18,11 @@
"browser"
]
},
"scripts": {
"test": "npm run lint && npm run style",
"style": "node_modules/.bin/jscs tests/tests.js",
"lint": "node_modules/.bin/jshint tests/tests.js"
},
"repository": {
"type": "git",
"url": "https://github.com/apache/cordova-plugin-file-transfer"
@@ -43,5 +48,9 @@
"cordova-plugin-file": "^3.0.0"
},
"author": "Apache Software Foundation",
"license": "Apache 2.0"
"license": "Apache 2.0",
"devDependencies": {
"jscs": "^2.6.0",
"jshint": "^2.8.0"
}
}