summaryrefslogtreecommitdiffstats
path: root/js/Gruntfile.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-09-04 17:01:35 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-09-04 17:01:35 +0200
commitdda6a6963cc4c2ba7f84572a8eae269dfd2a3287 (patch)
tree38376061227a780bd5dd44b7157c78ee60d3c2a4 /js/Gruntfile.js
parentd52b05965d5761144b1b94e8cc29b5c434a333fb (diff)
update deps
Diffstat (limited to 'js/Gruntfile.js')
-rw-r--r--js/Gruntfile.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/Gruntfile.js b/js/Gruntfile.js
index 03a0c607c..d954d64c0 100644
--- a/js/Gruntfile.js
+++ b/js/Gruntfile.js
@@ -18,7 +18,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-phpunit');
grunt.loadNpmTasks('grunt-wrap');
grunt.loadNpmTasks('grunt-karma');
- grunt.loadNpmTasks('grunt-ngmin');
+ grunt.loadNpmTasks('grunt-ng-annotate');
grunt.loadNpmTasks('grunt-traceur');
grunt.loadNpmTasks('grunt-protractor-runner');
grunt.loadNpmTasks('grunt-protractor-webdriver');
@@ -49,7 +49,7 @@ module.exports = function (grunt) {
dest: '<%= meta.production %>app.js'
}
},
- ngmin: {
+ ngAnnotate: {
app: {
src: ['<%= meta.production %>app.js'],
dest: '<%= meta.production %>app.js'
@@ -57,13 +57,13 @@ module.exports = function (grunt) {
},
traceur: {
app: {
- files: {
- '<%= meta.production %>app.js': ['<%= meta.production %>app.js']
- }
+ files: [{
+ src: ['<%= meta.production %>app.js'],
+ dest: '<%= meta.production %>app.js'
+ }]
},
options: {
blockBinding: true,
- sourceMap: false,
experimental: true,
modules: 'inline'
}
@@ -166,7 +166,7 @@ module.exports = function (grunt) {
});
// make tasks available under simpler commands
- grunt.registerTask('default', ['jshint', 'concat', 'wrap', 'traceur', 'ngmin']);
+ grunt.registerTask('default', ['jshint', 'concat', 'wrap', 'traceur', 'ngAnnotate']);
grunt.registerTask('dev', ['watch:concat']);
grunt.registerTask('test', ['karma:unit']);
grunt.registerTask('php', ['watch:phpunit']);