diff --git a/install-log4js.js b/install-log4js.js deleted file mode 100644 index 36daef5b9..000000000 --- a/install-log4js.js +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env node - -// workaround hack for https://github.com/isaacs/npm/issues/3305 - -var exec = require('child_process').exec; -var version; - -if (/0\.10/.test(process.versions.node)) { - version = '0.6.2'; -} else if (/0\.8/.test(process.versions.node)) { - version = '0.5.8'; -} - -if (version) { - var cp = exec('npm install log4js@' + version); - - // because stdin: 'inherit' does not work on Windows - cp.stdout.pipe(process.stdout); - cp.stderr.pipe(process.stderr); -} diff --git a/package.json b/package.json index cff77a88c..182d455fb 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "lodash": "~1.1", "pause": "0.0.1", "mime": "~1.2", - "log4js": "~0.5.8 || ~0.6.1" + "log4js": "~0.6.3" }, "peerDependencies": { "karma-jasmine": "*", @@ -127,8 +127,5 @@ "engines": { "node": "~0.8 || ~0.10" }, - "scripts": { - "install": "node install-log4js.js" - }, "version": "0.9.1" }