From 82af99d1bfcec9dd188e23f9d6d149fa1fb3cb1d Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 25 Aug 2015 15:21:20 +0100 Subject: [PATCH] Added release command for chrome to stop accidental creation of private key --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c7aa726..fa68962 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "create-dirs": "mkdir -p firefox/data chrome/data build/injections build/lib", "build-extensions": "npm run build-firefox && npm run build-chrome", "build-firefox": "cd firefox/ && jpm xpi && cd -", - "build-chrome": "crx pack chrome -o chrome/hipchat-emoticons-for-all.crx -p chrome/key.pem", + "build-chrome": "crx pack chrome -o chrome/hipchat-emoticons-for-all.crx", + "release-chrome": "crx pack chrome -o chrome/hipchat-emoticons-for-all.crx -p chrome/key.pem", "test-firefox": "cd firefox/ && jpm run -b /usr/bin/firefox && cd -", "test": "npm run build-assets && npm run build-js && npm run distribute && npm run test-firefox", "build-js": "bash build-js.sh",