Skip to content

Commit

Permalink
Add JSHint check via npm run check.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 19, 2013
1 parent c91ed43 commit 86b9488
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .jshintignore
@@ -0,0 +1,2 @@
.git
node_modules
2 changes: 1 addition & 1 deletion bin/bench
Expand Up @@ -13,7 +13,7 @@ var Table = require('cli-table');
var HTMLTable = require('../lib/html-table');
var fs = require('fs');
var path = require('path');
var colors = require('colors');
require('colors');

// ARGUMENTS
var only = process.argv.indexOf('--only') > -1 ?
Expand Down
26 changes: 26 additions & 0 deletions package.json
Expand Up @@ -17,12 +17,38 @@
"minification",
"benchmark"
],
"scripts": {
"check": "jshint ./bin/bench ."
},
"devDependencies": {
"clean-css": "2.0.x",
"cli-table": "0.2.x",
"colors": "0.6.x",
"csso": "1.3.x",
"jshint": "2.3.x",
"ncss": "1.1.x",
"ycssmin": "1.0.x"
},
"jshintConfig": {
"browser": false,
"camelcase": true,
"curly": false,
"eqeqeq": false,
"eqnull": true,
"immed": true,
"indent": 2,
"latedef": true,
"multistr": false,
"noarg": true,
"node": true,
"plusplus": false,
"quotmark": "single",
"strict": false,
"trailing": true,
"undef": true,
"unused": true
},
"engines": {
"node": ">=0.8.0"
}
}

0 comments on commit 86b9488

Please sign in to comment.