Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add gruntfile

  • Loading branch information...
commit 3e9ec970997c17d2292475f9281058c4de68e7cf 1 parent 425d759
@johnkpaul authored
Showing with 39 additions and 0 deletions.
  1. +39 −0 grunt.js
View
39 grunt.js
@@ -0,0 +1,39 @@
+/*global module:false*/
+module.exports = function(grunt) {
+
+ // Project configuration.
+ grunt.initConfig({
+ lint: {
+ files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
+ },
+ qunit: {
+ files: ['index.html']
+ },
+ watch: {
+ files: '<config:lint.files>',
+ tasks: 'lint qunit'
+ },
+ jshint: {
+ options: {
+ curly: true,
+ eqeqeq: true,
+ immed: true,
+ latedef: true,
+ newcap: true,
+ noarg: true,
+ sub: true,
+ undef: true,
+ boss: true,
+ eqnull: true,
+ browser: true
+ },
+ globals: {
+ jQuery: true
+ }
+ }
+ });
+
+ // Default task.
+ grunt.registerTask('default', 'lint qunit');
+
+};
Please sign in to comment.
Something went wrong with that request. Please try again.