mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
tart up Gruntfile
This commit is contained in:
parent
d511ee69fb
commit
32f6dc0346
@ -14,9 +14,8 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
// Project configuration for Node-RED-nodes
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
// Project configuration.
|
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
simplemocha: {
|
simplemocha: {
|
||||||
options: {
|
options: {
|
||||||
@ -47,7 +46,7 @@ module.exports = function(grunt) {
|
|||||||
src: ['*/*.js','*/*/*.js'],
|
src: ['*/*.js','*/*/*.js'],
|
||||||
filter: function(filepath) { // on some developer machines the test coverage HTML report utilities cause further failures
|
filter: function(filepath) { // on some developer machines the test coverage HTML report utilities cause further failures
|
||||||
if ((filepath.indexOf("coverage/") !== -1) || (filepath.indexOf("node_modules") !== -1)) {
|
if ((filepath.indexOf("coverage/") !== -1) || (filepath.indexOf("node_modules") !== -1)) {
|
||||||
console.log("Filtered out " + filepath + " from the jshint checks");
|
console.log( "\033[30m filtered out \033[32m:\033[37m " + filepath + "\033[0m");
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user