@circlesac/tscc
v0.0.7
Published
A simple TypeScript cross-compiler (tscc) that compiles and emits both ESM and CommonJS code from your TypeScript source files.
Downloads
49
Readme
@circlesac/tscc
A simple TypeScript cross-compiler (tscc) that compiles and emits both ESM and CommonJS code from your TypeScript source files.
Usage
You can run the compiler using npx:
npx @circlesac/tsccOptions
| Option | Description | Default |
| ---------------------- | --------------------------------------- | ------- |
| --include <paths...> | Override tsconfig.json include patterns | - |
| -o, --out <path> | Output directory | dist |
| --verbose | Enable verbose output logging | false |
| -V, --version | Display version information | - |
| -h, --help | Display help information | - |
Examples
Basic usage with default options:
npx @circlesac/tsccOverride include paths:
npx @circlesac/tscc --include src/**/*.ts test/**/*.tsSet custom output directory:
npx @circlesac/tscc --out build