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

grunt-lesshint

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-lesshint - npm Package Compare versions

Comparing version 0.4.0 to 0.5.1

.travis.yml

68

Gruntfile.js

@@ -13,9 +13,44 @@ /*

jshint: {
options: {
"bitwise": true,
"browser": true,
"boss": true,
"camelcase": true,
"curly": true,
"es3": true,
"eqeqeq": true,
"eqnull": true,
"forin": true,
"freeze": true,
"immed": true,
"indent": 4,
"jquery": true,
"newcap": true,
"noarg": true,
"node": true,
"nonbsp": true,
"noempty": true,
"nonew": true,
"passfail": true,
"plusplus": true,
"undef": true,
"unused": true,
"strict": true,
"sub": true,
"trailing": true
},
all: [
'Gruntfile.js',
'tasks/*.js',
'<%= nodeunit.tests %>'
'tasks/*.js'
],
options: {
jshintrc: '.jshintrc'
tests: {
options: {
globals: {
"describe": true,
"it": true
}
},
files: {
src: [ 'test/*.js' ]
}
}

@@ -60,5 +95,19 @@ },

// Unit tests.
nodeunit: {
tests: [ 'test/*_test.js' ]
mochacov: {
test: {
options: {
reporter: 'spec'
},
files: {
src: [ 'test/**/*.js' ]
}
},
coverage: {
options: {
coveralls: true
},
files: {
src: [ 'test/**/*.js' ]
}
}
}

@@ -71,5 +120,6 @@

grunt.loadNpmTasks( 'grunt-contrib-jshint' );
grunt.loadNpmTasks( 'grunt-contrib-nodeunit' );
grunt.loadNpmTasks( 'grunt-mocha-cov' );
grunt.registerTask( 'test', [ 'nodeunit' ] );
grunt.registerTask( 'test', [ 'mochacov:test' ] );
grunt.registerTask( 'cover', [ 'mochacov:coverage' ] );

@@ -76,0 +126,0 @@ // By default, lint and run all tests.

22

package.json
{
"name": "grunt-lesshint",
"description": "Lint lesscss files with grunt",
"version": "0.4.0",
"version": "0.5.1",
"homepage": "https://github.com/kokarn/grunt-lesshint",

@@ -22,8 +22,13 @@ "author": {

"scripts": {
"test": "grunt test"
"test": "mocha",
"cover": "grunt cover"
},
"devDependencies": {
"blanket": "^1.1.7",
"grunt": "~0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-jshint": "^0.11.2",
"grunt-contrib-nodeunit": "^0.4.1",
"grunt": "~0.4.5"
"grunt-mocha-cov": "^0.4.0",
"mocha": "^2.2.5",
"spawn-sync": "^1.0.11"
},

@@ -44,3 +49,10 @@ "peerDependencies": {

"lesshint": "^0.5.1"
}
},
"config": {
"blanket": {
"pattern": [
"tasks"
]
}
}
}

@@ -7,2 +7,4 @@ # grunt-lesshint

[![devDependency Status](https://david-dm.org/kokarn/grunt-lesshint/dev-status.svg?theme=shields.io&style=flat)](https://david-dm.org/kokarn/grunt-lesshint#info=devDependencies)
[![Build Status](https://travis-ci.org/kokarn/grunt-lesshint.svg)](https://travis-ci.org/kokarn/grunt-lesshint)
[![Coverage Status](https://coveralls.io/repos/kokarn/grunt-lesshint/badge.svg)](https://coveralls.io/r/kokarn/grunt-lesshint)

@@ -72,2 +74,4 @@ ## Getting Started

|---|---|---|
|2015-05-25|0.5.1|Fix readme and version for 0.5.0|
|2015-05-25|0.5.0|Add CI support with Travis-ci and some experimental coveralls.io support|
|2015-05-25|0.4.0|Add support for using custom ```.lesshintrc``` files|

@@ -74,0 +78,0 @@ |2015-05-21|0.3.1|Forgot to update everything for the 0.3.0 release....|

@@ -11,3 +11,3 @@ /*

var lesshint = require( 'Lesshint' ),
var lesshint = require( 'lesshint' ),
chalk = require( 'chalk' ),

@@ -24,3 +24,3 @@ configLoader = require( 'lesshint/lib/config-loader' );

if( options.lesshintrc === true ){
// let lesshinthint find the options itself
// let lesshint find the options itself
config = configLoader();

@@ -27,0 +27,0 @@ } else if( options.lesshintrc ){

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