message: build: make `postinstall` script compatible with Windows
  PR Close
diff: "buildifier": "find . -type f \\( -name BUILD -or -name BUILD.bazel \\) ! -path \"*/node_modules/*\" | xargs $(bazel info bazel-bin)/external/com_github_bazelbuild_buildtools/buildifier/*/buildifier",
  "preinstall": "node tools/yarn/check-yarn.js",
  "postinstall": "yarn update-webdriver && node ./tools/postinstall-patches.js && yarn patch-types",
  - "patch-types": "work-around for issue https://github.com/angular/angular/issues/25051",
  - "patch-types": "mkdir -p node_modules/@types/zone.js && cp -f node_modules/zone.js/dist/zone.js.d.ts node_modules/@types/zone.js/index.d.ts",
  + "//patch-types": "work-around for issue https://github.com/angular/angular/issues/25051",
  + "patch-types": "node -e \"var sh = require('shelljs'); sh.set('-e'); sh.mkdir('-p', 'node_modules/@types/zone.js'); sh.cp('-f', 'node_modules/zone.js/dist/zone.js.d.ts', 'node_modules/@types/zone.js/index.d.ts')\"",
  "update-webdriver": "webdriver-manager update --gecko false $CHROMEDRIVER_VERSION_ARG",
  "check-env": "gulp check-env",
  "commitmsg": "node ./scripts/git/commit-msg.js"
  