Socket
Socket
Sign inDemoInstall

piping-styles

Package Overview
Dependencies
5
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

10

lib/piping.js
// Generated by CoffeeScript 1.6.2
(function() {
var chokidar, colors, fs, options, path;
var chokidar, cleanCSS, colors, fs, options, path;

@@ -13,2 +13,4 @@ path = require("path");

cleanCSS = require("clean-css");
options = {

@@ -82,2 +84,5 @@ ignore: /(\/\.|~$)/,

return options.build[type](i, code, function(data) {
if (options.minify) {
data = cleanCSS.process(data);
}
fs.writeFileSync(o, data);

@@ -116,2 +121,5 @@ return console.log("[piping-styles]".bold.magenta, "Built in", Date.now() - start, "ms");

}
if (options.minify) {
css = cleanCSS.process(css);
}
fs.writeFileSync(path.resolve(basedir, out), css);

@@ -118,0 +126,0 @@ return console.log("[piping-styles]".bold.magenta, "Vendor built in", Date.now() - start, "ms");

5

package.json
{
"name": "piping-styles",
"version": "0.1.0",
"version": "0.1.1",
"description": "Keep your styles piping hot! Rebuild your styles on change without binaries",

@@ -8,3 +8,4 @@ "main": "lib/piping.js",

"chokidar": "0.5.x",
"colors": "0.6.x"
"colors": "0.6.x",
"clean-css": "0.10.x"
},

@@ -11,0 +12,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc