CB-10636 Add JSHint for plugins

This commit is contained in:
daserge
2016-02-24 10:28:04 +03:00
parent 47f245462d
commit 8a3f9edb9d
9 changed files with 68 additions and 10 deletions
+8 -1
View File
@@ -26,6 +26,10 @@
"cordova-wp8",
"cordova-windows"
],
"scripts": {
"test": "npm run jshint",
"jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint tests"
},
"engines": [
{
"name": "cordova",
@@ -33,5 +37,8 @@
}
],
"author": "Apache Software Foundation",
"license": "Apache 2.0"
"license": "Apache 2.0",
"devDependencies": {
"jshint": "^2.6.0"
}
}