Get the path to a binary script.
$> yarn bin [-v,--verbose] [--json] [name]
List all the available binaries :
Print the path to a specific binary :
yarn bin eslint
When used without arguments, this command will print the list of all the
binaries available in the current workspace. Adding the
-v,--verbose flag will
cause the output to contain both the binary name and the locator of the package
that provides the binary.
When an argument is specified, this command will just print the path to the binary on the standard output and exit. Note that the reported path may be stored within a zip archive.
--json flag is set the output will follow a JSON-stream output also
known as NDJSON (https://github.com/ndjson/ndjson-spec).