Add minification

This commit is contained in:
Lorenz Hübschle-Schneider 2014-08-27 17:30:16 +01:00
parent 69e1e1907d
commit 33d43ee28d

View file

@ -12,11 +12,14 @@
"bower": "^1.3.1",
"shelljs": "^0.2.6",
"jshint": "^2.5.2",
"karma-junit-reporter": "^0.2.2"
"karma-junit-reporter": "^0.2.2",
"uglify-js": "^2.4"
},
"scripts": {
"postinstall": "bower install",
"minify": " uglifyjs js/localstorage.js js/weechat.js js/irc-utils.js js/glowingbear.js js/websockets.js js/models.js js/plugins.js -c -m --screw-ie8 -o min.js --source-map min.map",
"prestart": "npm install",
"start": "http-server -a localhost -p 8000",