From 6fc25753c54ddf6635f243084056b2701b9633d5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 20 Aug 2015 12:46:40 +0100 Subject: [PATCH] Rename min.js to js --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 91b6900..cca21ac 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "build-extensions": "npm run build-firefox && npm run build-chrome", "build-firefox": "cd firefox/ && jpm xpi && cd -", "build-chrome": "crx pack chrome -o hipchat-emoticons-for-all.crx -p chrome/key.pem", - "build-js": "uglifyjs-folder src -eo build && cp src/*.json build/", + "build-js": "uglifyjs-folder src -eo build && cp src/*.json build/ && rename .min.js .js build/*.min.js", "build-data-files": "python firefox/build-package.py && python chrome/build-manifest.py", "distribute": "cp build/* firefox/data/ && cp build/* chrome/data/", "build": "npm run clean && npm run create-dirs && npm install && npm run build-js && npm run distribute && npm run build-data-files && npm run build-extensions",