Skip to content

Commit b295a4c

Browse files
committed
Build: Updated build system to latest version of grunt
Closes gh-15112
1 parent 74f8a0a commit b295a4c

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function mapMinFile( file ) {
9292
}
9393

9494
function expandFiles( files ) {
95-
return grunt.util._.pluck( grunt.file.expandMapping( files ), "src" ).map(function( values ) {
95+
return grunt.util._.map( grunt.file.expandMapping( files ), "src" ).map(function( values ) {
9696
return values[ 0 ];
9797
});
9898
}
@@ -129,7 +129,7 @@ function createBanner( files ) {
129129
"<%= pkg.homepage ? '* ' + pkg.homepage + '\\n' : '' %>" +
130130
(files ? "* Includes: " + fileNames.join(", ") + "\n" : "") +
131131
"* Copyright <%= pkg.author.name %>;" +
132-
" Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */\n";
132+
" Licensed <%= _.map(pkg.licenses, 'type').join(', ') %> */\n";
133133
}
134134

135135
grunt.initConfig({

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,22 @@
5454
"jquery": ">=1.7.0 <4.0.0"
5555
},
5656
"devDependencies": {
57-
"commitplease": "2.3.0",
58-
"grunt": "0.4.5",
57+
"commitplease": "3.2.0",
58+
"grunt": "1.0.3",
5959
"grunt-bowercopy": "1.2.4",
60-
"grunt-cli": "0.1.13",
61-
"grunt-compare-size": "0.4.0",
62-
"grunt-contrib-concat": "0.5.1",
63-
"grunt-contrib-csslint": "0.5.0",
64-
"grunt-contrib-jshint": "0.12.0",
65-
"grunt-contrib-qunit": "1.0.1",
66-
"grunt-contrib-requirejs": "0.4.4",
67-
"grunt-contrib-uglify": "0.11.1",
68-
"grunt-git-authors": "3.1.0",
69-
"grunt-html": "6.0.0",
70-
"grunt-jscs": "2.1.0",
71-
"load-grunt-tasks": "3.4.0",
72-
"rimraf": "2.5.1",
60+
"grunt-cli": "1.3.2",
61+
"grunt-compare-size": "0.4.2",
62+
"grunt-contrib-concat": "1.0.1",
63+
"grunt-contrib-csslint": "^0.5.0",
64+
"grunt-contrib-jshint": "2.0.0",
65+
"grunt-contrib-qunit": "^1.0.1",
66+
"grunt-contrib-requirejs": "1.0.0",
67+
"grunt-contrib-uglify": "4.0.0",
68+
"grunt-git-authors": "3.2.0",
69+
"grunt-html": "^6.0.0",
70+
"grunt-jscs": "^2.1.0",
71+
"load-grunt-tasks": "4.0.0",
72+
"rimraf": "2.6.3",
7373
"testswarm": "1.1.0"
7474
},
7575
"keywords": []

0 commit comments

Comments
 (0)