diff --git a/package.json b/package.json index b0b47c2b58..a210674f89 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,9 @@ "change-case": "^2.3.0", "client-sessions": ">= 0.3.1", "express": "4.13.1", + "global-tunnel": "^1.2.0", + "govuk-elements-sass": "~1.1.1", "govuk_frontend_toolkit": "~4.6.0", - "govuk-elements-sass" : "~1.1.1", "grunt": "0.4.5", "grunt-cli": "0.1.13", "grunt-concurrent": "0.4.3", @@ -30,19 +31,19 @@ "grunt-text-replace": "0.3.12", "hogan.js": "3.0.2", "html5shiv": "^3.7.3", + "lodash": "~4.2.0", "luhn": "^2.1.0", "minimist": "0.0.8", + "moment": "2.11.1", "newrelic": "^1.24.0", "node-rest-client": "^1.5.1", "node-sass": "3.3.3", "passport": "^0.3.2", "passport-auth0": "^0.5.0", "readdir": "0.0.6", + "request": "2.69.0", "serve-favicon": "~2.3.0", - "winston": "^1.0.1", - "moment": "2.11.1", - "lodash": "~4.2.0", - "request": "2.69.0" + "winston": "^1.0.1" }, "devDependencies": { "chai": "^3.2.0", diff --git a/server.js b/server.js index 1643749433..c1dffa45e3 100644 --- a/server.js +++ b/server.js @@ -1,4 +1,6 @@ -if(process.env.ENABLE_NEWRELIC == 'yes') require('newrelic'); +if (process.env.ENABLE_NEWRELIC == 'yes') require('newrelic'); +if (process.env.HTTP_PROXY) require('global-tunnel').initialize(); + var express = require('express'); var path = require('path'); var favicon = require('serve-favicon');