pact-mock-service
Advanced tools
Comparing version 0.5.2-1 to 0.5.2-2
{ | ||
"name": "pact-mock-service", | ||
"version": "0.5.2-1", | ||
"version": "0.5.2-2", | ||
"description": "Pact mock service install package. Installing this will install an executable appropriate for your platform.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
//Using preinstall hook, download and install the correct platform specific package for the mock server | ||
//Download and install the correct platform specific package for the mock server | ||
var npm = require("npm"); | ||
@@ -10,3 +10,5 @@ var arch = ""; | ||
console.log("Installing Pact mock server for " + process.platform + arch); | ||
npm.commands.install(['pact-mock-service-' + process.platform + arch], function(er, data) { | ||
//Install npm into the wrapping pact-mock-service node_modules directory to avoid nested node_modules | ||
npm.commands.install("../../", ['pact-mock-service-' + process.platform + arch], function(er, data) { | ||
if(er) { | ||
@@ -13,0 +15,0 @@ console.log(er); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14408
17