Comparing version 0.1.0 to 0.1.1
@@ -14,3 +14,3 @@ var less = require("less") | ||
less.render(input, function(err, css) { | ||
if (err) throw err; | ||
if (err) throw new Error('Unable to parse less file: '+ file); | ||
css = css.replace(/\"/g, "\\\"").replace(/\n/g, "\\\n"); | ||
@@ -17,0 +17,0 @@ var body = "var css = '"+ css +"';"+ |
{ | ||
"name": "lessify", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Middleware and Browserify transform for less files", | ||
@@ -8,3 +8,3 @@ "main": "./index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "node test/lessify.js" | ||
}, | ||
@@ -18,3 +18,5 @@ "author": "Drew Stokes", | ||
}, | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"tape": "~2.1.0" | ||
}, | ||
"repository": { | ||
@@ -21,0 +23,0 @@ "type": "git", |
@@ -5,2 +5,3 @@ lessify | ||
[![Build Status](https://travis-ci.org/dstokes/lessify.png)](https://travis-ci.org/dstokes/lessify) | ||
[![NPM](https://nodei.co/npm/lessify.png?downloads=true)](https://nodei.co/npm/lessify/) | ||
@@ -7,0 +8,0 @@ |
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
4139
8
55
2
30
1