webgme
Version:
Web-based Generic Modeling Environment
38 lines (35 loc) • 768 B
JavaScript
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
compress: {
drop_console: true
},
preserveComments: 'some'
},
default: {
files: {
'bootstrap-notify.min.js': ['bootstrap-notify.js']
}
}
},
jshint: {
options: {
jshintrc: 'jshintrc.json'
},
default: {
src: 'bootstrap-notify.js'
}
},
exec: {
'meteor-test': 'node_modules/.bin/spacejam test-packages ./'
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-exec');
grunt.registerTask('test', ['jshint', 'exec:meteor-test']);
grunt.registerTask('default', ['uglify']);
};