Add minification
This commit is contained in:
parent
69e1e1907d
commit
33d43ee28d
1 changed files with 4 additions and 1 deletions
|
@ -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",
|
||||
|
||||
|
|
Loading…
Reference in a new issue