summaryrefslogtreecommitdiffstats
path: root/apps/comments/js/vendor/Caret.js/Gruntfile.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/js/vendor/Caret.js/Gruntfile.coffee')
-rw-r--r--apps/comments/js/vendor/Caret.js/Gruntfile.coffee79
1 files changed, 0 insertions, 79 deletions
diff --git a/apps/comments/js/vendor/Caret.js/Gruntfile.coffee b/apps/comments/js/vendor/Caret.js/Gruntfile.coffee
deleted file mode 100644
index a645110b59b..00000000000
--- a/apps/comments/js/vendor/Caret.js/Gruntfile.coffee
+++ /dev/null
@@ -1,79 +0,0 @@
-module.exports = (grunt) ->
- grunt.initConfig
- pkg: grunt.file.readJSON 'package.json'
- bower_path: 'bower_components'
-
- jasmine:
- src: 'src/*.js'
- options:
- vendor: [
- '<%= bower_path %>/jquery/dist/jquery.min.js',
- '<%= bower_path %>/jasmine-jquery/lib/jasmine-jquery.js'
- ]
- specs: 'spec/javascripts/*.js'
- # keepRunner: true
-
- uglify:
- options:
- banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
- build:
- files:
- 'dist/<%= pkg.name %>.min.js': ['src/<%= pkg.name %>.js']
-
- coffee:
- withMaps:
- options:
- bare: true
- sourceMap: true
- files:
- 'src/<%= pkg.name %>.js': 'src/<%= pkg.name %>.coffee'
- withoutMaps:
- options:
- bare: true
- sourceMap: false
- files:
- 'dist/<%= pkg.name %>.js': 'src/<%= pkg.name %>.coffee'
-
- watch:
- scripts:
- files: ['src/*.coffee']
- tasks: ['coffee', 'umd']
-
- umd:
- options:
- template: 'umd'
- deps:
- 'default': ['$']
- amd: ['jquery']
- cjs: ['jquery']
- global:
- items: ['jQuery']
- prefix: ''
- src:
- src: 'src/<%= pkg.name %>.js'
- dist:
- src: 'dist/<%= pkg.name %>.js'
-
-
- 'json-replace':
- options:
- space: " ",
- replace:
- version: "<%= pkg.version %>"
- 'update-version':
- files:[{
- 'bower.json': 'bower.json',
- 'component.json': 'component.json'
- }]
-
- grunt.loadNpmTasks 'grunt-contrib-coffee'
- grunt.loadNpmTasks 'grunt-contrib-uglify'
- grunt.loadNpmTasks 'grunt-contrib-jasmine'
- grunt.loadNpmTasks 'grunt-json-replace'
- grunt.loadNpmTasks 'grunt-contrib-watch'
- grunt.loadNpmTasks 'grunt-umd'
-
- grunt.registerTask 'update-version', 'json-replace'
-
- grunt.registerTask 'default', ['coffee', 'umd', 'jasmine','update-version', 'uglify', 'watch']
- grunt.registerTask 'test', ['coffee', 'umd', 'jasmine']