Skip to content

Commit

Permalink
update some npm packages for nitro & again fix issue with breaking gu…
Browse files Browse the repository at this point in the history
…lp watch on sass compile error
  • Loading branch information
ernscht committed Jul 21, 2015
1 parent 42902b1 commit 9095522
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions app/templates/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ gulp.task('compile-css', function () {
.pipe(plumber())
.pipe(header(imports))
.pipe(cache(asset.name))
.pipe(precompile().on('error', function(err) {
<% if (options.pre === 'scss') { %>precompile.logError(err)<% } else { %>console.log(err.message)<% } %>;
<% if (options.pre === 'scss') { %>.pipe(precompile().on('error', precompile.logError ))<% } else { %>.pipe(precompile().on('error', function(err) {
console.log(err.message);
this.emit('end');
}))
}))<% } %>
.pipe(autoprefixer({
browsers: ['> 1%', 'last 2 versions', 'ie 9', 'android 4', 'Firefox ESR', 'Opera 12.1'],
cascade: true
Expand Down
20 changes: 10 additions & 10 deletions app/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@
"start": "node server"
},
"dependencies": {
"body-parser": "^1.12.4",
"compression": "^1.5.0",
"body-parser": "^1.13.2",
"compression": "^1.5.1",
"dot-object": "^0.11.0",
"es6-promise": "^2.3.0",
"express": "^4.13.0",
"express": "^4.13.1",
"extend": "^3.0.0",
"globby": "^2.1.0",
"gulp-live-server": "^0.0.21",
"gulp-live-server": "^0.0.23",
"hbs": "^3.1.0",
"hbs-utils": "0.0.3",
"i18next": "^1.10.2"
"i18next": "^1.10.3"
},
"devDependencies": {
"browser-sync": "^2.7.13",
"browser-sync": "^2.8.0",
"del": "^1.2.0",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^2.3.1",
Expand All @@ -43,7 +43,7 @@
"gulp-jshint": "^1.11.2",
"gulp-karma": "~0.0.1",<% if (options.pre === 'less') { %>
"gulp-less": "^3.0.3",<% } %><% if (options.pre === 'scss') { %>
"gulp-sass": "^2.0.3",<% } %><% if (options.js === 'TypeScript') { %>
"gulp-sass": "^2.0.4",<% } %><% if (options.js === 'TypeScript') { %>
"typescript": "^1.5.0-beta",
"gulp-typescript": "^2.7.5", <% } %>
"gulp-minify-css": "^1.2.0",
Expand All @@ -53,11 +53,11 @@
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^1.2.8",
"gulp-uglify": "^1.2.0",
"gulp-watch": "^4.2.4",
"imagemin-pngquant": "^4.1.0",
"gulp-watch": "^4.3.3",
"imagemin-pngquant": "^4.1.2",
"jasmine-core": "^2.3.4",
"jshint-stylish": "^2.0.1",
"karma": "^0.12.37",
"karma": "^0.13.2",
"karma-chrome-launcher": "^0.2.0",
"karma-jasmine": "~0.3.6"
}
Expand Down

0 comments on commit 9095522

Please sign in to comment.