Update npm packages and add time-grunt

pull/110/head
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']
};
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
},

View File

@ -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"
}
}