Comparing version 1.1.0 to 1.2.0
@@ -26,3 +26,3 @@ #!/usr/bin/env node | ||
walk(dir, function(path, result){ | ||
if (path.substr(-3) === ".js"){ | ||
if (path.substr(-3) === ".js" || path.substr(-4) === ".css"){ | ||
if (!options.silent){ | ||
@@ -29,0 +29,0 @@ console.log("found file: " + path); |
{ | ||
"name": "minify-all", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "A tool that minifies all .js files in a folder and its nested folders", | ||
@@ -12,2 +12,14 @@ "main": "index.js", | ||
}, | ||
"keywords": [ | ||
"minify", | ||
"all", | ||
"javascript", | ||
"uglify", | ||
"uglifyjs", | ||
"gcc", | ||
"yui", | ||
"sqwish", | ||
"csso", | ||
"css" | ||
], | ||
"author": "Joey Sham <sham.joey@gmail.com> (http://www.joeyism.com)", | ||
@@ -14,0 +26,0 @@ "license": "ISC", |
# Minify-All | ||
A function that minifies your javascript files, and all the javascript files in your nested folders as well. **Minify-All** can be used as a CLI or can be run in your code. By giving it a directory, Minify-All will walk through the depth of your folders and minify all the javascript that it sees. | ||
A function that minifies your javascript or css files, and all the javascript or css files in your nested folders as well. **Minify-All** can be used as a CLI or can be run in your code. By giving it a directory, Minify-All will walk through the depth of your folders and minify all the javascript that it sees. | ||
@@ -5,0 +5,0 @@ ### Installation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3429