Update npm packages and add time-grunt

This commit is contained in:
Francis Lachapelle 2015-10-09 12:11:37 -04:00
parent e2d6e8ffe9
commit d68008b5fd
2 changed files with 9 additions and 5 deletions

View file

@ -15,6 +15,9 @@ module.exports = function(grunt) {
'js/Administration.js': ['js/Administration/Administration.app.js', 'js/Administration/*Controller.js'] 'js/Administration.js': ['js/Administration/Administration.app.js', 'js/Administration/*Controller.js']
}; };
require('time-grunt')(grunt);
grunt.initConfig({ grunt.initConfig({
pkg: grunt.file.readJSON('package.json'), pkg: grunt.file.readJSON('package.json'),
sass: { sass: {
@ -45,7 +48,7 @@ module.exports = function(grunt) {
options: { options: {
map: false, map: false,
processors: [ 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 // minifier
require('csswring').postcss require('csswring').postcss
] ]
@ -57,7 +60,7 @@ module.exports = function(grunt) {
options: { options: {
map: true, map: true,
processors: [ 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 // We may consider using css grace (https://github.com/cssdream/cssgrace) for larger support
}, },

View file

@ -2,7 +2,7 @@
"name": "sogo-web", "name": "sogo-web",
"version": "0.0.1", "version": "0.0.1",
"devDependencies": { "devDependencies": {
"autoprefixer-core": ">=5.1.0", "autoprefixer": ">=6.0.3",
"bower": ">=1.3.8", "bower": ">=1.3.8",
"csswring": ">=3.0.0", "csswring": ">=3.0.0",
"grunt": ">=0.4.1", "grunt": ">=0.4.1",
@ -11,8 +11,9 @@
"grunt-contrib-uglify": ">=0.9", "grunt-contrib-uglify": ">=0.9",
"grunt-contrib-watch": ">=0.5.3", "grunt-contrib-watch": ">=0.5.3",
"grunt-ng-annotate": ">=0.10.0", "grunt-ng-annotate": ">=0.10.0",
"grunt-postcss": "^0.3.0", "grunt-postcss": ">=0.6.0",
"grunt-sass": ">=0.18.1", "grunt-sass": ">=0.18.1",
"kss": "^2.0.2" "time-grunt": "latest",
"kss": ">=2.1.0"
} }
} }