Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grouch

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grouch - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

lib/eslintRunner.js

@@ -8,3 +8,3 @@ /**

var eslint = require("eslint").CLIEngine;
var Eslint = require("eslint").CLIEngine;
var eslintFormatter = require("./eslint/eslintFromatter");

@@ -20,3 +20,3 @@ var fs = require("fs");

function runEslint(srcFiles){
var eslintObj = new eslint();
var eslintObj = new Eslint();

@@ -23,0 +23,0 @@ fs.writeFileSync("eslintReport.html", eslintFormatter(eslintObj.executeOnFiles(srcFiles)));

@@ -65,7 +65,5 @@ /**

}
else{
/* istanbul ignore else */
if(callback){
callback(filterFileCollection(files, ignorePattern, fileType));
}
/* istanbul ignore else */
else if(callback){
callback(filterFileCollection(files, ignorePattern, fileType));
}

@@ -72,0 +70,0 @@ });

@@ -20,3 +20,4 @@ /**

"INTERNETEXPLORER": "IE",
"SAFARI": "Safari"
"SAFARI": "Safari",
"OPERA": "Opera"
};

@@ -23,0 +24,0 @@

{
"name": "grouch",
"version": "0.2.0",
"description": "Run test files",
"version": "0.2.1",
"description": "Test runner and linter for any front end project",
"author": "Gyandeep Singh <gyandeeps@gmail.com>",

@@ -16,3 +16,3 @@ "license": "BSD",

"dependencies": {
"eslint": ">=0.12.0",
"eslint": ">=0.15.0",
"grunt": "0.4.5",

@@ -29,3 +29,4 @@ "grunt-contrib-jasmine": ">=0.7.0",

"karma-ie-launcher": ">=0.1.5",
"karma-safari-launcher": ">=0.1.1"
"karma-safari-launcher": ">=0.1.1",
"karma-opera-launcher": ">=0.1.0"
},

@@ -37,3 +38,2 @@ "devDependencies": {

"istanbul": ">=0.3.2",
"eslint": ">=0.8.0",
"shelljs-nodecli": ">=0.1.1",

@@ -40,0 +40,0 @@ "jsdoc": "latest",

@@ -9,6 +9,6 @@ [![NPM version](https://badge.fury.io/js/grouch.svg)](http://badge.fury.io/js/grouch)

It runs unit test using `jasmine` and does code coverage using `istanbul`.
It runs unit test using `jasmine` and does code coverage using `istanbul`. It also supports `karma` to run tests in different browsers.
It also does Javascript lint using [Eslint](http://eslint.org).
##Options
## Options

@@ -29,3 +29,3 @@ ```

##Usage
## Usage

@@ -84,2 +84,3 @@ The project should be used as CLI tool so that's why we require it to be installed globally.

* Safari (command use `-b safari`)
* Opera (command use `-b opera`)

@@ -96,5 +97,5 @@ You can specify multiple browsers like this:

If you project has jquery built into it then it will override the 1.11.2 version with your version.
We also load [sinonjs fake server](http://sinonjs.org/docs/#fakeServer) module to be used to fake `XMLHttpRequest`.
We also load [sinonJs fake server](http://sinonjs.org/docs/#fakeServer) module to be used to fake `XMLHttpRequest`.
##Contribution
## Contribution

@@ -105,4 +106,4 @@ Please feel free to log issues and even send pull request for the changes.

##Future
## Future
Check out the [Grouch Roadmap](https://github.com/gyandeeps/grouch/wiki/Release-Goals).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc