A glob is a string of literal and/or wildcard characters used to match filepaths. Globbing is the act of locating files on a filesystem using one or more globs.
For consistent experience with NPM lifecycle scripts you should:
Always quote the globs in your NPM scripts when using ESLint, TSLint, Mocha or other tools that use node-glob,
Use cross-platform commands or node packages instead of commands,
Double-check if a command or expression is well supported across different shells/shell versions/operating systems (e.g. globstar),
topic : understanding glob in NPM
read this
reference