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

node-lessify

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-lessify - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

.travis.yml

5

index.js
var less = require('less');
var cleanCSS = require('clean-css');
var CleanCSS = require('clean-css');
var through = require('through');

@@ -34,4 +34,5 @@

var compiled = cleanCSS.process(compiled);
var compiled = CleanCSS().minify(compiled);
compiled = func_start + "var css = \"" + compiled.replace(/'/g, "\\'").replace(/"/g, '\\"') + "\";" + func_end;

@@ -38,0 +39,0 @@ this.queue(compiled);

6

package.json
{
"name": "node-lessify",
"version": "0.0.1",
"version": "0.0.2",
"description": "LESS precompiler and CSS plugin for Browserify v2",
"main": "index.js",
"scripts": {
"test": "test/test.js"
},

@@ -27,3 +27,3 @@ "repository": {

"less": ">= 1.5.0",
"clean-css": "?= 2.0.0"
"clean-css": "2.0.2"
},

@@ -30,0 +30,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

node-lessify
node-lessify [![Build Status](https://travis-ci.org/wilson428/node-lessify.png)](https://travis-ci.org/wilson428/node-lessify)
============

@@ -3,0 +3,0 @@

@@ -0,6 +1,8 @@

#!/usr/bin/env node
var fs = require("fs");
var browserify = require('browserify');
var lessify = require("../index");
var assert = require("assert");
var sampleLESS = __dirname + "/styles.less";

@@ -16,6 +18,6 @@ var sampleCSS = __dirname + "/styles.css";

if (err) {
throw err;
assert.fail(err);
}
console.log("LESS and CSS scripts bundled. See " + __dirname + "/test.html");
fs.writeFile(__dirname + "/bundle.js", src);
});
assert.ok(src);
});
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