2.0.1 • Published 8 years ago

tsc-glob v2.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

tsc-glob

The purpose of this command is to add support for file globbing to Typescript compiler tsc.

Globs can be provided by:

  • Reading filesGlob property of tsconfig.json
  • Providing it through command line arguments

All options not supported by this package will be passed to tsc compiler command

Installation

Install the package

npm install --save-dev tsc-glob

Usage

tsc-glob [options]

Options

aliascommanddescription
-h--helpoutput usage information
-V--versionoutput the version number
-f--tsconfig-file tsconfig.json file location. Default ./tsconfig.json
-g--files-glob File globs

Examples

Using alternative tsconfig.json file

tsc-glob --tsconfig-file config/tsconfig.json --outDir dist --declaration

Using command globs (ignores tsconfig.json filesGlob)

tsc-glob --files-globs src/**/ts/*.ts --outDir dist --declaration
2.0.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago