@isbl/cross-glob
v1.0.1
Published
utility for using globs in scripts in cross-platform manner
Downloads
45
Readme
@isbl/cross-glob
Utility for writing npm scripts which use glob and work cross-platform
Install:
yarn add -D @isbl/cross-glob
Then prefix your script with cross-glob
replace
"build": "tsc packages/**/*.json"
with
"build": "cross-glob tsc -b \"packages/**/*.json\""
the quotes are required to avoid expansion by your shell. It could work but could also break with various shells.