1.0.1 • Published 3 years ago

@isbl/cross-glob v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@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.

1.0.1

3 years ago

1.0.0

3 years ago