From 33d43ee28d8de4bd43869de85f7b55f81f33e600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Wed, 27 Aug 2014 17:30:16 +0100 Subject: [PATCH] Add minification --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 536fd28..35a94d8 100644 --- a/package.json +++ b/package.json @@ -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",