mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
update grunt-sass and add node-sass for node12 support
and update Gruntfile.js to use them
This commit is contained in:
parent
22b9df62d1
commit
e8ef476a6d
@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
var path = require("path");
|
var path = require("path");
|
||||||
var fs = require("fs-extra");
|
var fs = require("fs-extra");
|
||||||
|
var sass = require("node-sass");
|
||||||
|
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
@ -220,6 +221,7 @@ module.exports = function(grunt) {
|
|||||||
sass: {
|
sass: {
|
||||||
build: {
|
build: {
|
||||||
options: {
|
options: {
|
||||||
|
implementation: sass,
|
||||||
outputStyle: 'compressed'
|
outputStyle: 'compressed'
|
||||||
},
|
},
|
||||||
files: [{
|
files: [{
|
||||||
|
@ -93,19 +93,20 @@
|
|||||||
"grunt-mocha-istanbul": "5.0.2",
|
"grunt-mocha-istanbul": "5.0.2",
|
||||||
"grunt-nodemon": "~0.4.2",
|
"grunt-nodemon": "~0.4.2",
|
||||||
"grunt-npm-command": "~0.1.2",
|
"grunt-npm-command": "~0.1.2",
|
||||||
"grunt-sass": "~2.0.0",
|
"grunt-sass": "~3.1.0",
|
||||||
"grunt-simple-mocha": "~0.4.1",
|
"grunt-simple-mocha": "~0.4.1",
|
||||||
"http-proxy": "^1.16.2",
|
"http-proxy": "^1.16.2",
|
||||||
"istanbul": "0.4.5",
|
"istanbul": "0.4.5",
|
||||||
|
"jsdoc-nr-template": "github:node-red/jsdoc-nr-template",
|
||||||
"minami": "1.2.3",
|
"minami": "1.2.3",
|
||||||
"mocha": "^5.2.0",
|
"mocha": "^5.2.0",
|
||||||
"mosca": "^2.8.3",
|
"mosca": "^2.8.3",
|
||||||
|
"node-red-node-test-helper": "^0.2.3",
|
||||||
|
"node-sass": "^4.13.0",
|
||||||
"should": "^8.4.0",
|
"should": "^8.4.0",
|
||||||
"sinon": "1.17.7",
|
"sinon": "1.17.7",
|
||||||
"stoppable": "^1.1.0",
|
"stoppable": "^1.1.0",
|
||||||
"supertest": "3.4.2",
|
"supertest": "3.4.2"
|
||||||
"node-red-node-test-helper": "^0.2.3",
|
|
||||||
"jsdoc-nr-template": "node-red/jsdoc-nr-template"
|
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
|
Loading…
Reference in New Issue
Block a user