aboutsummaryrefslogtreecommitdiffstats
path: root/app/bower_components/remarkable-bootstrap-notify/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/bower_components/remarkable-bootstrap-notify/Gruntfile.js')
-rw-r--r--app/bower_components/remarkable-bootstrap-notify/Gruntfile.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/bower_components/remarkable-bootstrap-notify/Gruntfile.js b/app/bower_components/remarkable-bootstrap-notify/Gruntfile.js
new file mode 100644
index 0000000..3f42472
--- /dev/null
+++ b/app/bower_components/remarkable-bootstrap-notify/Gruntfile.js
@@ -0,0 +1,37 @@
+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']);
+};