benhowdle89/touche — pull request #7 by jantimon (2013-10-27 10:27:06+00:00)
Title: Suggestion: Use JSHint to ensure code quality

I'd like to suggest using [gruntJS](http://gruntjs.com/) and [jsHint](http://www.jshint.com/) to maintain the code quality.

if you haven't already installed [grunt-cli](https://npmjs.org/package/grunt-cli) get it from the node package manager:
npm install -g grunt-cli

Now run grunt:
```
npm install
npm test
```

Result:
```
Running tasks: default

Running "default" task

Running "clean" task

Running "clean:0" (clean) task
Verifying property clean.0 exists in config...OK
Files: dist -> 0
Options: force=false, no-write=false
Cleaning dist...OK

Running "jshint" task

Running "jshint:files" (jshint) task
Verifying property jshint.files exists in config...OK
Files: src/touche.js -> files
JSHint options: force=false, reporterOutput=null, jshintrc=".jshintrc"
OK
>> 1 file lint free.

Running "uglify" task

Running "uglify:build" (uglify) task
Verifying property uglify.build exists in config...OK
Files: src/touche.js -> dist/touche.min.js
Minifying with UglifyJS...Reading src/touche.js...OK
OK
Writing dist/touche.min.js...OK
File "dist/touche.min.js" created.

Running "bytesize" task

Running "bytesize:all" (bytesize) task
Verifying property bytesize.all exists in config...OK
Files: dist/touche.min.js, src/touche.js

dist/touche.min.js
Size: 681 bytes
Gzip Size: 388 bytes

src/touche.js
Size: 1.54 Kb
Gzip Size: 669 bytes

Done, without errors.
```