Created by: fson
- Remove the
'yarn' is not recognized as an internal or external command, ...message on Windows. - Simplify the detection code: just run
yarn --version– if it succeeds useyarn, if it fails usenpm. - Pass the
--verboseoption to Yarn if given, Yarn supports it now.
Tested on macOS and Windows 10.