Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 0007465

Browse files
committed
chore(grunt): replace ngmin by ngannotate
1 parent 0a061f4 commit 0007465

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gruntFile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function (grunt) {
77
// Default task.
88
grunt.registerTask('default', ['jshint', 'karma:unit']);
99
grunt.registerTask('serve', ['karma:continuous', 'dist', 'build:gh-pages', 'connect:continuous', 'watch']);
10-
grunt.registerTask('dist', ['ngmin', 'uglify']);
10+
grunt.registerTask('dist', ['ngAnnotate', 'uglify']);
1111

1212

1313
// HACK TO ACCESS TO THE COMPONENT-PUBLISHER
@@ -133,7 +133,7 @@ module.exports = function (grunt) {
133133
}
134134
},
135135

136-
ngmin: {
136+
ngAnnotate: {
137137
main: {
138138
expand: true,
139139
cwd: 'src',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"grunt-contrib-copy": "~0.4.1",
1515
"grunt-contrib-jshint": "~0.7.2",
1616
"grunt-karma": "~0.6.2",
17+
"grunt-ng-annotate": "^0.8.0",
1718
"grunt-contrib-uglify": "~0.2.7",
1819
"grunt-contrib-watch": "~0.5.3",
1920
"load-grunt-tasks": "~0.2.0",
@@ -29,7 +30,6 @@
2930
"karma": "~0.10.8",
3031
"karma-coverage": "~0.2.6",
3132
"grunt-conventional-changelog": "~1.0.0",
32-
"grunt-ngmin": "0.0.3",
3333
"grunt-contrib-connect": "~0.5.0"
3434
},
3535
"scripts": {},

0 commit comments

Comments
 (0)