build: Clean up Gruntfile

* Sort jshintrc a-z and section it.

* Remove grunt.js from jshintignore (file no longer exists).

* Simplify jshint config by using globstar. The jshintignore
  file still applies (to skip jquery.uls.data.js).

* Update jshint config to also validate Gruntfile.js

* Update listed dependency on 'grunt' and 'grunt-cli' to the
  versions they currently expand to already. We don't know if
  we're compatible with older versions. '^x.y' means, equal or
  higher (within the same major release). Similar to '~x.y',
  except that tilde tolerates older versions.

* Update grunt-contrib-jshint and grunt-contrib-qunit to their
  latest versions.

* Remove obsolete jshintrc parsing hack, use built-in 'jshintrc'
  option as of v0.8.0.

* Remove unused 'pgk' property in grunt config.

* Remove unused grunt-contrib-jasmine and grunt-contrib-copy
  from devDependencies (unused as of ab9b01444f).
This commit is contained in:
Timo Tijhof
2014-10-09 05:59:32 +02:00
parent e34349cf96
commit 89d64b7e93
4 changed files with 26 additions and 33 deletions

View File

@@ -25,12 +25,10 @@
"Siebrand Mazeland"
],
"devDependencies": {
"grunt": "~0.4.1",
"grunt-cli": "~0.1",
"grunt-contrib-jshint": "~0.5.4",
"grunt-contrib-qunit": "~0.2.1",
"grunt-contrib-jasmine": "~0.4",
"grunt-contrib-copy": ">0.0.0"
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-jshint": "^0.8.0",
"grunt-contrib-qunit": "^0.5.2"
},
"repository": {
"type": "git",