From be948a1bf2a6776b5bfa3d919dc723eaf633e075 Mon Sep 17 00:00:00 2001 From: Alys Date: Tue, 6 Jun 2017 18:49:31 -0700 Subject: [PATCH] adjust postinstall command so that it works in Windows as well as *nix (#8744) Semicolons in postinstall commands don't work in Windows. '&&' works in *nix and in at least some versions of Windows. This changes the meaning of the postinstall line slightly because now the later commands won't run if the earlier ones failed but I don't see that being a problem. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1c22799787..36372e0fe7 100644 --- a/package.json +++ b/package.json @@ -159,7 +159,7 @@ "client:e2e": "node test/client/e2e/runner.js", "client:test": "npm run client:unit && npm run client:e2e", "start": "gulp run:dev", - "postinstall": "bower --config.interactive=false install -f; gulp build; npm run client:build" + "postinstall": "bower --config.interactive=false install -f && gulp build && npm run client:build" }, "devDependencies": { "babel-plugin-istanbul": "^4.0.0",