Skip to content

Commit 2f82c5b

Browse files
committed
Merge pull request #11 from beeman/gruntfile
Update ngmin to ng-annotate cause of warning during npm install
2 parents 99eb39b + 9091ebb commit 2f82c5b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Gruntfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ module.exports = function (grunt) {
282282
}
283283
},
284284

285-
// ngmin tries to make the code safe for minification automatically by
285+
// ngAnnotate tries to make the code safe for minification automatically by
286286
// using the Angular long form for dependency injection. It doesn't work on
287287
// things like resolve or inject so those have to be done manually.
288-
ngmin: {
288+
ngAnnotate: {
289289
dist: {
290290
files: [{
291291
expand: true,
@@ -397,7 +397,7 @@ module.exports = function (grunt) {
397397
'concurrent:dist',
398398
'copy:dist',
399399
'cssmin',
400-
'ngmin',
400+
'ngAnnotate',
401401
'uglify',
402402
'htmlmin'
403403
]);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "sbadmin",
2+
"name": "sb-admin",
33
"version": "0.0.0",
44
"repository": {
55
"type": "git",
@@ -24,7 +24,7 @@
2424
"grunt-google-cdn": "^0.4.0",
2525
"grunt-karma": "^0.10.1",
2626
"grunt-newer": "^0.7.0",
27-
"grunt-ngmin": "^0.0.3",
27+
"grunt-ng-annotate": "^0.10.0",
2828
"grunt-svgmin": "^0.4.0",
2929
"grunt-usemin": "^2.1.1",
3030
"grunt-wiredep": "^1.7.0",

0 commit comments

Comments
 (0)