From 209aab8b6e03142b94d62b2e39a14d626fd54368 Mon Sep 17 00:00:00 2001 From: Adam Pritchard Date: Mon, 7 Sep 2015 13:27:30 -0400 Subject: [PATCH] Compress zip to be accepted by Chrome store --- LICENSE | 2 +- utils/build.js | 2 +- utils/package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index a07015e6..b0e529e8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright © 2014 Adam Pritchard +Copyright © 2015 Adam Pritchard Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/utils/build.js b/utils/build.js index b8b97891..d397ddd9 100644 --- a/utils/build.js +++ b/utils/build.js @@ -82,7 +82,7 @@ function setUpZips() { fs.unlinkSync(FIREFOX_EXTENSION); } - var chromeZip = new archiver('zip', {store: true}); + var chromeZip = new archiver('zip'); // Chrome will reject the zip if there's no compression var firefoxZip = new archiver('zip', {store: true}); chromeZip.on('error', function(err) { diff --git a/utils/package.json b/utils/package.json index 55c82881..bbc3fa3b 100644 --- a/utils/package.json +++ b/utils/package.json @@ -5,7 +5,7 @@ "dependencies": { "markdown-it": "~3.0.5", "metascript": "~1.0.0", - "file": "~0.2.2", - "archiver": "~0.14.3" + "file": "*", + "archiver": "*" } }