1
Fork 0

Rename min.js to js

This commit is contained in:
Jake Howard 2015-08-20 12:46:40 +01:00
parent 2865e5dee1
commit 6fc25753c5

View file

@ -8,7 +8,7 @@
"build-extensions": "npm run build-firefox && npm run build-chrome", "build-extensions": "npm run build-firefox && npm run build-chrome",
"build-firefox": "cd firefox/ && jpm xpi && cd -", "build-firefox": "cd firefox/ && jpm xpi && cd -",
"build-chrome": "crx pack chrome -o hipchat-emoticons-for-all.crx -p chrome/key.pem", "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", "build-data-files": "python firefox/build-package.py && python chrome/build-manifest.py",
"distribute": "cp build/* firefox/data/ && cp build/* chrome/data/", "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", "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",