mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 02:42:17 -05:00
25 lines
484 B
JavaScript
25 lines
484 B
JavaScript
module.exports = function(grunt) {
|
|
|
|
// Project configuration.
|
|
grunt.initConfig({
|
|
pkg: grunt.file.readJSON('package.json'),
|
|
jshint: {
|
|
all: ['Gruntfile.js', 'src/js/**/*.js']
|
|
},
|
|
qunit: {
|
|
all: {
|
|
options: {
|
|
urls: ['http://localhost:8580/unit/index.html']
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
// Load the plugin(s)
|
|
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
grunt.loadNpmTasks('grunt-contrib-qunit');
|
|
|
|
// Default task(s).
|
|
grunt.registerTask('test', ['jshint', 'qunit']);
|
|
|
|
}; |