compat (npm): Translate $env format to %env% format if on windows for npm scripts
Keywords: cli|env