From e8ef476a6d42a3564980c6d8c7a5c8d90f33f088 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 25 Oct 2019 15:23:51 +0100 Subject: [PATCH] update grunt-sass and add node-sass for node12 support and update Gruntfile.js to use them --- Gruntfile.js | 2 ++ package.json | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 28f510e50..a6e896b9e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -16,6 +16,7 @@ var path = require("path"); var fs = require("fs-extra"); +var sass = require("node-sass"); module.exports = function(grunt) { @@ -220,6 +221,7 @@ module.exports = function(grunt) { sass: { build: { options: { + implementation: sass, outputStyle: 'compressed' }, files: [{ diff --git a/package.json b/package.json index d20f43240..aa09435e4 100644 --- a/package.json +++ b/package.json @@ -93,19 +93,20 @@ "grunt-mocha-istanbul": "5.0.2", "grunt-nodemon": "~0.4.2", "grunt-npm-command": "~0.1.2", - "grunt-sass": "~2.0.0", + "grunt-sass": "~3.1.0", "grunt-simple-mocha": "~0.4.1", "http-proxy": "^1.16.2", "istanbul": "0.4.5", + "jsdoc-nr-template": "github:node-red/jsdoc-nr-template", "minami": "1.2.3", "mocha": "^5.2.0", "mosca": "^2.8.3", + "node-red-node-test-helper": "^0.2.3", + "node-sass": "^4.13.0", "should": "^8.4.0", "sinon": "1.17.7", "stoppable": "^1.1.0", - "supertest": "3.4.2", - "node-red-node-test-helper": "^0.2.3", - "jsdoc-nr-template": "node-red/jsdoc-nr-template" + "supertest": "3.4.2" }, "engines": { "node": ">=8"