Skip to content

Commit aa6047e

Browse files
committed
chore(dependencies): update grunt dependencies
Changes: * `grunt-contrib-watch` now uses `spawn: false` instead of `nospawn: true` @see https://github.com/gruntjs/grunt-contrib-watch#optionsspawn * `grunt-contrib-imagemin` now minifies svg files, remove `grunt-svgmin` @see https://github.com/gruntjs/grunt-contrib-imagemin#imagemin-task
1 parent e1c9ca3 commit aa6047e

File tree

2 files changed

+28
-41
lines changed

2 files changed

+28
-41
lines changed

Diff for: app/templates/Gruntfile.js

+3-15
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ module.exports = function (grunt) {
128128
tasks: ['express:dev', 'wait'],
129129
options: {
130130
livereload: true,
131-
nospawn: true //Without this option specified express won't be reloaded
131+
spawn: false //Without this option specified express won't be reloaded
132132
}
133133
},
134134
bower: {
@@ -309,18 +309,7 @@ module.exports = function (grunt) {
309309
files: [{
310310
expand: true,
311311
cwd: '<%%= yeoman.client %>/assets/images',
312-
src: '{,*/}*.{png,jpg,jpeg,gif}',
313-
dest: '<%%= yeoman.dist %>/client/assets/images'
314-
}]
315-
}
316-
},
317-
318-
svgmin: {
319-
dist: {
320-
files: [{
321-
expand: true,
322-
cwd: '<%%= yeoman.client %>/assets/images',
323-
src: '{,*/}*.svg',
312+
src: '{,*/}*.{png,jpg,jpeg,gif,svg}',
324313
dest: '<%%= yeoman.dist %>/client/assets/images'
325314
}]
326315
}
@@ -468,8 +457,7 @@ module.exports = function (grunt) {
468457
'stylus',<% } if(filters.sass) { %>
469458
'sass',<% } if(filters.less) { %>
470459
'less',<% } %>
471-
'imagemin',
472-
'svgmin'
460+
'imagemin'
473461
]
474462
},
475463

Diff for: app/templates/_package.json

+25-26
Original file line numberDiff line numberDiff line change
@@ -35,52 +35,51 @@
3535
},
3636
"devDependencies": {
3737
"autoprefixer-core": "^5.2.1",
38-
"grunt": "~0.4.4",
38+
"grunt": "~0.4.5",
3939
"grunt-wiredep": "^2.0.0",
40-
"grunt-concurrent": "~0.5.0",
41-
"grunt-contrib-clean": "~0.5.0",
42-
"grunt-contrib-concat": "~0.4.0",
43-
"grunt-contrib-copy": "~0.5.0",
44-
"grunt-contrib-cssmin": "~0.9.0",
45-
"grunt-contrib-htmlmin": "~0.2.0",
46-
"grunt-contrib-imagemin": "~0.7.1",
40+
"grunt-concurrent": "^2.0.1",
41+
"grunt-contrib-clean": "^0.6.0",
42+
"grunt-contrib-concat": "^0.5.1",
43+
"grunt-contrib-copy": "^0.8.0",
44+
"grunt-contrib-cssmin": "^0.13.0",
45+
"grunt-contrib-imagemin": "^0.9.4",
4746
"grunt-contrib-jshint": "~0.11.2",
48-
"grunt-contrib-uglify": "~0.4.0",
47+
"grunt-contrib-uglify": "^0.9.1",
4948
"grunt-contrib-watch": "~0.6.1",<% if (filters.coffee) { %>
50-
"grunt-contrib-coffee": "^0.10.1",<% } %><% if (filters.jade) { %>
51-
"grunt-contrib-jade": "^0.11.0",<% } %><% if (filters.less) { %>
52-
"grunt-contrib-less": "^0.11.4",<% } %><% if(filters.babel) { %>
49+
"grunt-contrib-coffee": "^0.13.0",<% } %><% if (filters.jade) { %>
50+
"grunt-contrib-jade": "^0.15.0",<% } %><% if (filters.less) { %>
51+
"grunt-contrib-less": "^1.0.0",<% } %><% if(filters.babel) { %>
5352
"karma-babel-preprocessor": "^5.2.1",
5453
"grunt-babel": "~5.0.0",<% } %>
5554
"grunt-google-cdn": "~0.4.0",
56-
"grunt-jscs": "~0.7.1",
57-
"grunt-newer": "~0.7.0",
58-
"grunt-ng-annotate": "^0.2.3",
55+
"grunt-jscs": "^2.0.0",
56+
"grunt-newer": "^1.1.1",
57+
"grunt-ng-annotate": "^1.0.1",
5958
"grunt-filerev": "^2.3.1",
60-
"grunt-svgmin": "~0.4.0",
61-
"grunt-usemin": "~2.1.1",
59+
"grunt-usemin": "^3.0.0",
6260
"grunt-env": "~0.4.1",
63-
"grunt-node-inspector": "~0.1.5",
64-
"grunt-nodemon": "~0.2.0",
61+
"grunt-node-inspector": "^0.2.0",
62+
"grunt-nodemon": "^0.4.0",
6563
"grunt-angular-templates": "^0.5.4",
6664
"grunt-dom-munger": "^3.4.0",
6765
"grunt-protractor-runner": "^2.0.0",
68-
"grunt-injector": "~0.5.4",
66+
"grunt-injector": "^0.6.0",
6967
"grunt-karma": "~0.12.0",
70-
"grunt-build-control": "~0.4.0",<% if(filters.sass) { %>
71-
"grunt-contrib-sass": "^0.7.3",<% } %><% if(filters.stylus) { %>
68+
"grunt-build-control": "^0.5.0",<% if(filters.sass) { %>
69+
"grunt-contrib-sass": "^0.9.0",<% } %><% if(filters.stylus) { %>
7270
"grunt-contrib-stylus": "latest",<% } %>
73-
"jit-grunt": "^0.5.0",
74-
"time-grunt": "~0.3.1",
75-
"grunt-express-server": "~0.4.17",
71+
"jit-grunt": "^0.9.1",
72+
"time-grunt": "^1.2.1",
73+
"grunt-express-server": "^0.5.1",
7674
"grunt-postcss": "^0.5.5",
7775
"grunt-open": "~0.2.3",
7876
"open": "~0.0.4",
7977
"jshint-stylish": "~2.0.1",
8078
"connect-livereload": "^0.5.3",
8179
"mocha": "^2.2.5",
8280
"grunt-mocha-test": "~0.12.7",
83-
"grunt-mocha-istanbul": "^2.4.0",
81+
"grunt-mocha-istanbul": "^3.0.1",
82+
"istanbul": "^0.3.17",
8483
"chai-as-promised": "^5.1.0",
8584
"chai-things": "^0.2.0",
8685
"sinon-chai": "^2.8.0",<% if (filters.mocha) { %>

0 commit comments

Comments
 (0)