CB-8410 Enable jshint for Android platform

This commit is contained in:
Murat Sutunc
2015-02-03 11:30:12 -08:00
committed by Andrew Grieve
parent fb8e35bb44
commit d0ade1d190
4 changed files with 27 additions and 2 deletions
+4 -2
View File
@@ -13,8 +13,9 @@
"apache"
],
"scripts": {
"test": "jasmine-node --color spec",
"test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app 応用 && \"./test create/cordova/build\" && rm -rf \"test create\""
"test": "npm run jshint && jasmine-node --color spec",
"test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app 応用 && \"./test create/cordova/build\" && rm -rf \"test create\"",
"jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint spec"
},
"author": "Apache Software Foundation",
"license": "Apache version 2.0",
@@ -25,6 +26,7 @@
},
"devDependencies": {
"jasmine-node": "~1",
"jshint": "^2.6.0",
"promise-matchers": "~0"
}
}