A simple TypeScript cross-compiler (tscc) that compiles and emits both ESM and CommonJS code from your TypeScript source files.
You can run the compiler using npx:
npx @circlesac/tscc| 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 | - |
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