]
}
},
-
+ jsonlint: {
+ pkg: {
+ src: [ "package.json" ]
+ },
+ bower: {
+ src: [ "bower.json" ]
+ }
+ },
jshint: {
dist: {
src: [ "dist/jquery.js" ],
}
}
},
-
testswarm: {
tests: "ajax attributes callbacks core css data deferred dimensions effects event manipulation offset queue selector serialize support traversing Sizzle".split(" ")
},
-
watch: {
files: [ "<%= jshint.grunt.src %>", "<%= jshint.tests.src %>", "src/**/*.js" ],
tasks: "dev"
},
-
"pre-uglify": {
all: {
files: {
grunt.loadNpmTasks("grunt-contrib-watch");
grunt.loadNpmTasks("grunt-contrib-jshint");
grunt.loadNpmTasks("grunt-contrib-uglify");
-
- // Default grunt
- grunt.registerTask( "default", [ "selector", "build:*:*", "jshint", "pre-uglify", "uglify", "post-uglify", "dist:*", "compare_size" ] );
+ grunt.loadNpmTasks("grunt-jsonlint");
// Short list as a high frequency watch task
grunt.registerTask( "dev", [ "selector", "build:*:*", "jshint" ] );
+
+ // Default grunt
+ grunt.registerTask( "default", [ "jsonlint", "dev", "pre-uglify", "uglify", "post-uglify", "dist:*", "compare_size" ] );
};