From 8a5c88098a36df547c063a9a4576e546a1550dd6 Mon Sep 17 00:00:00 2001 From: Valdeci Gomes Date: Sat, 26 Jan 2019 22:20:44 +0000 Subject: [PATCH] Update packages versions to the latest Node versions --- Gruntfile.js | 10 ++++++++-- package.json | 22 +++++++++++----------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index cc99f8d..09a4ad0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,3 +1,5 @@ +const sass = require('node-sass'); + /* global module:false */ module.exports = function(grunt) { var port = grunt.option('port') || 8000; @@ -50,7 +52,11 @@ module.exports = function(grunt) { 'css/theme/solarized.css': 'css/theme/source/solarized.scss', 'css/theme/blood.css': 'css/theme/source/blood.scss' } - } + }, + options: { + implementation: sass, + sourceMap: true + } }, autoprefixer: { @@ -95,7 +101,7 @@ module.exports = function(grunt) { connect: { server: { options: { - port: port, + port: 8000, base: '.', livereload: true, open: true diff --git a/package.json b/package.json index 10489bb..cff882b 100644 --- a/package.json +++ b/package.json @@ -27,17 +27,17 @@ "socket.io": "~0.9.16" }, "devDependencies": { - "grunt-contrib-qunit": "~0.5.2", - "grunt-contrib-jshint": "~0.6.4", - "grunt-contrib-cssmin": "~0.4.1", - "grunt-contrib-uglify": "~0.2.4", - "grunt-contrib-watch": "~0.5.3", - "grunt-sass": "~0.14.0", - "grunt-contrib-connect": "~0.8.0", - "grunt-autoprefixer": "~1.0.1", - "grunt-zip": "~0.7.0", - "grunt": "~0.4.0", - "node-sass": "~0.9.3" + "grunt": "^1.0.3", + "grunt-autoprefixer": "^3.0.4", + "grunt-contrib-connect": "^2.0.0", + "grunt-contrib-cssmin": "^3.0.0", + "grunt-contrib-jshint": "^2.0.0", + "grunt-contrib-qunit": "^3.1.0", + "grunt-contrib-uglify": "^4.0.0", + "grunt-contrib-watch": "^1.1.0", + "grunt-sass": "^2.1.0", + "grunt-zip": "^0.18.1", + "node-sass": "*" }, "licenses": [ {