bigbluebutton-Github/labs/meteor-client/Gruntfile.js

37 lines
745 B
JavaScript
Raw Normal View History

2014-10-03 01:14:41 +08:00
/* jshint node: true */
'use strict';
module.exports = function(grunt) {
// configure Grunt
grunt.initConfig({
// files to lint with the JSHint task
jshint: {
files: {
src: [
'Gruntfile.js'
]
}
},
coffeelint: {
files: {
src: [
'**/*.coffee',
'!node_modules/**/*',
2014-10-03 02:23:10 +08:00
'!app/.meteor/**/*',
'!app/packages/**/*'
2014-10-03 01:14:41 +08:00
]
}
}
});
// load the module containing the JSHint task
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-coffeelint');
// register a default task to run JSHint
// (allows `grunt` rather than `grunt jshint`)
grunt.registerTask('default', ['jshint', 'coffeelint']);
};