diff --git a/UI/WebServerResources/Gruntfile.js b/UI/WebServerResources/Gruntfile.js index 9d6b58879..a1e338656 100644 --- a/UI/WebServerResources/Gruntfile.js +++ b/UI/WebServerResources/Gruntfile.js @@ -15,6 +15,9 @@ module.exports = function(grunt) { 'js/Administration.js': ['js/Administration/Administration.app.js', 'js/Administration/*Controller.js'] }; + + require('time-grunt')(grunt); + grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), sass: { @@ -45,7 +48,7 @@ module.exports = function(grunt) { options: { map: false, processors: [ - require('autoprefixer-core')({browsers: '> 1%, last 2 versions, last 3 Firefox versions'}), + require('autoprefixer')({browsers: '> 1%, last 2 versions, last 3 Firefox versions'}), // minifier require('csswring').postcss ] @@ -57,7 +60,7 @@ module.exports = function(grunt) { options: { map: true, processors: [ - require('autoprefixer-core')({browsers: '> 1%, last 2 versions, last 3 Firefox versions'}) + require('autoprefixer')({browsers: '> 1%, last 2 versions, last 3 Firefox versions'}) ] // We may consider using css grace (https://github.com/cssdream/cssgrace) for larger support }, diff --git a/UI/WebServerResources/package.json b/UI/WebServerResources/package.json index 7ab99d8cb..8a3ffdff1 100644 --- a/UI/WebServerResources/package.json +++ b/UI/WebServerResources/package.json @@ -2,7 +2,7 @@ "name": "sogo-web", "version": "0.0.1", "devDependencies": { - "autoprefixer-core": ">=5.1.0", + "autoprefixer": ">=6.0.3", "bower": ">=1.3.8", "csswring": ">=3.0.0", "grunt": ">=0.4.1", @@ -11,8 +11,9 @@ "grunt-contrib-uglify": ">=0.9", "grunt-contrib-watch": ">=0.5.3", "grunt-ng-annotate": ">=0.10.0", - "grunt-postcss": "^0.3.0", + "grunt-postcss": ">=0.6.0", "grunt-sass": ">=0.18.1", - "kss": "^2.0.2" + "time-grunt": "latest", + "kss": ">=2.1.0" } }