@isbl/cross-glob

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @isbl/cross-glob

Weekly Downloads

13

Version

1.0.1

License

MIT

Unpacked Size

1.51 kB

Total Files

4

Last publish

Collaborators

  • bellathewitch