diff --git a/Gruntfile.js b/Gruntfile.js index 6ed5aa2..ba899f5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -134,7 +134,7 @@ module.exports = function (grunt) { // Allow the use of non-minsafe AngularJS files. Automatically makes it // minsafe compatible so Uglify does not destroy the ng references - ngmin: { + ngAnnotate: { dist: { src: ['<%= yeoman.dist %>/angular-apimock.js'], dest: '<%= yeoman.dist %>/angular-apimock.js' @@ -217,8 +217,8 @@ module.exports = function (grunt) { grunt.registerTask('_publish', [ 'clean', 'concat', - 'ngmin', 'uglify', + 'ngAnnotate', 'changelog', 'nugetpack', 'bump-commit', diff --git a/package.json b/package.json index b94f132..87e94da 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "grunt-conventional-changelog": "^1.1.0", "grunt-karma": "^0.9.0", "grunt-newer": "^0.7.0", - "grunt-ngmin": "0.0.3", + "grunt-ng-annotate": "^0.4.0", "grunt-nuget": "^0.1.3", "jshint-stylish": "^1.0.0", "karma": "^0.12.1",