From 152722b6015b8c545aba2b7df75386dd52b54c76 Mon Sep 17 00:00:00 2001 From: Mert Yazicioglu Date: Sun, 21 Feb 2016 13:58:14 +0200 Subject: [PATCH] Version 0.3.0 * Updated dependencies --- README.md | 4 ++++ gulpfile.js | 6 +++--- package.json | 33 ++++++++++++++++----------------- protractor.conf.js | 2 +- 4 files changed, 24 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index fab3321..e22684b 100755 --- a/README.md +++ b/README.md @@ -187,6 +187,10 @@ If you have `gulp` installed globally, you may omit `npm run` in the commands li ## Changelog +**0.3.0** + +* Updated dependencies + **0.2.0** * ngRoute is replaced with UI Router diff --git a/gulpfile.js b/gulpfile.js index 192502e..f7c7294 100755 --- a/gulpfile.js +++ b/gulpfile.js @@ -4,7 +4,7 @@ var config = require('./gulp.conf.json'); var gulp = require('gulp'); var plugins = require('gulp-load-plugins')(); -var autoprefixer = require('autoprefixer-core'); +var autoprefixer = require('autoprefixer'); var browserSync = require('browser-sync'); var del = require('del'); var mainBowerFiles = require('main-bower-files'); @@ -19,7 +19,7 @@ gulp.task('css', function () { .pipe(plugins.concat(config.css.bundle)) .pipe(plugins.sourcemaps.init()) .pipe(plugins.postcss([autoprefixer({browsers: ['last 2 version']})])) - .pipe(plugins.minifyCss({keepSpecialComments: 0})) + .pipe(plugins.cssnano({keepSpecialComments: 0})) .pipe(plugins.sourcemaps.write()) .pipe(gulp.dest(config.path.build)); }); @@ -32,7 +32,7 @@ gulp.task('html:lint', function () { gulp.task('html', ['html:lint'], function () { return gulp.src(getPath('app', config.html.files)) - .pipe(plugins.minifyHtml({empty: true, spare: true, quotes: true})) + .pipe(plugins.htmlmin({empty: true, spare: true, quotes: true})) .pipe(plugins.angularTemplatecache({ root: 'app/modules' })) diff --git a/package.json b/package.json index 94d62e4..5577692 100644 --- a/package.json +++ b/package.json @@ -19,45 +19,44 @@ "license": "MIT", "private": true, "repository": "https://github.com/merty/angular-boilerplate", - "version": "0.2.0", + "version": "0.3.0", "devDependencies": { - "autoprefixer-core": "^5.2.0", + "autoprefixer": "^6.0.1", "bower": "^1.3.1", "browser-sync": "^2.8.2", "chai": "^3.0.0", "chai-as-promised": "^5.1.0", - "del": "^1.1.1", + "del": "^2.2.0", "gulp": "^3.8.11", "gulp-angular-filesort": "^1.1.1", "gulp-angular-templatecache": "^1.7.0", - "gulp-autoprefixer": "^2.1.0", + "gulp-autoprefixer": "^3.1.0", "gulp-concat": "^2.5.2", + "gulp-cssnano": "^2.1.1", "gulp-htmlhint": "^0.3.0", - "gulp-htmlmin": "^1.1.3", - "gulp-inject": "^1.5.0", - "gulp-jscs": "^2.0.0", - "gulp-jshint": "^1.11.2", - "gulp-load-plugins": "^0.10.0", - "gulp-minify-css": "^1.0.0", - "gulp-minify-html": "^1.0.2", + "gulp-htmlmin": "^1.3.0", + "gulp-inject": "^3.0.0", + "gulp-jscs": "^3.0.2", + "gulp-jshint": "^2.0.0", + "gulp-load-plugins": "^1.2.0", "gulp-ng-annotate": "^1.1.0", - "gulp-postcss": "^5.1.8", + "gulp-postcss": "^6.1.0", "gulp-rename": "^1.2.2", "gulp-sourcemaps": "^1.5.2", "gulp-uglify": "^1.2.0", "gulp-util": "^3.0.4", - "http-server": "^0.8.0", + "http-server": "^0.9.0", "jscs": "^2.0.0", "jshint-stylish": "^2.0.1", "karma": "^0.13.8", "karma-chai": "^0.1.0", "karma-mocha": "^0.2.0", - "karma-phantomjs-launcher": "^0.2.0", + "karma-phantomjs-launcher": "^1.0.0", "main-bower-files": "^2.9.0", "mocha": "^2.2.5", - "phantomjs": "^1.9.17", - "protractor": "^2.1.0", - "shelljs": "^0.5.1", + "phantomjs-prebuilt": "^2.1.3", + "protractor": "^3.1.1", + "shelljs": "^0.6.0", "stream-series": "^0.1.1" }, "scripts": { diff --git a/protractor.conf.js b/protractor.conf.js index ec16934..fb51233 100755 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -1,6 +1,6 @@ 'use strict'; -var phantomjs = require('phantomjs'); +var phantomjs = require('phantomjs-prebuilt'); exports.config = { baseUrl: 'http://localhost:8000/',