Comparing version 1.1.0 to 1.1.1-test1
@@ -21,2 +21,2 @@ #!/usr/bin/env node | ||
console.log('zipped!'); | ||
}); | ||
}); |
@@ -59,2 +59,5 @@ // creates a zip file using either the native `zip` command if avaliable, | ||
fs.stat(source, function(err, stats) { | ||
if (err) { | ||
return next(err); | ||
} | ||
if (stats.isDirectory()) { | ||
@@ -61,0 +64,0 @@ archive.bulk([ |
{ | ||
"name": "bestzip", | ||
"version": "1.1.0", | ||
"version": "1.1.1-test1", | ||
"description": "Uses OS zip command if avaliable (for better performance and speed) or node.js version if there is no system command avaliable. Can be called via node or command line.", | ||
@@ -5,0 +5,0 @@ "main": "lib/bestzip.js", |
@@ -13,3 +13,3 @@ # bestzip | ||
npm install -g bestzip | ||
bestzip source/ [other sources...] destination.zip | ||
bestzip destination.zip source/ [other sources...] | ||
@@ -27,3 +27,3 @@ ## Command line usage within `package.json` scripts | ||
"build" "...", | ||
"zip": "bestzip out/* bundle.zip", | ||
"zip": "bestzip bundle.zip source/*", | ||
"upload": "....", | ||
@@ -30,0 +30,0 @@ "deploy": "npm run build && npm run zip && npm run upload" |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7
101
6161
2