From 6fbe784391d779548045b39ee6ccffa673b820bf Mon Sep 17 00:00:00 2001 From: Jakub Pawlowicz Date: Tue, 29 Nov 2011 14:06:33 +0100 Subject: [PATCH] Version 0.3.0. --- History.md | 6 ++++++ README.md | 7 +++++-- package.json | 7 +++++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/History.md b/History.md index 027c5ab6..af7ae8b3 100644 --- a/History.md +++ b/History.md @@ -1,3 +1,9 @@ +0.3.0 / 2011-11-29 +================== + + * Clean-css requires node 0.4.0+ to run. + * Removed node's 0.2.x 'sys' package dependency (thanks to @jmalonzo for a patch). + 0.2.6 / 2011-11-27 ================== diff --git a/README.md b/README.md index ff9fd78e..4175aa92 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,14 @@ Clean-css is a node.js library for minifying CSS files. It does the same job as ## Usage ## +### What are the requirements? ### + + node 0.4.0+ + ### How to install clean-css? ### npm install clean-css - ### How to use clean-css? ### You can minify one file **public.css** into **public-min.css** via: @@ -27,7 +30,7 @@ Or even gzip it at once: cat one.css two.css three.css | cleancss | gzip -9 -c > merged-minified-and-gzipped.css.gz -### How to use clean-css programatically ### +### How to use clean-css programatically? ### var cleanCSS = require('clean-css'); diff --git a/package.json b/package.json index 61dbf097..3c65c6d9 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,15 @@ "type" : "git", "url" : "http://github.com/GoalSmashers/clean-css.git" }, - "version": "0.2.6", + "version": "0.3.0", "main": "index.js", "bin": { "cleancss": "./bin/cleancss" }, "dependencies": { "optimist": "0.1.x" + }, + "engines": { + "node": ">=0.4.0" } -} \ No newline at end of file +} -- 2.34.1