GitXplorerGitXplorer
a

tsc-with-cleanup

public
1 stars
2 forks
1 issues

Commits

List of commits on branch main.
Unverified
97c28bbd3684beae5ab368dedd91c7d4f3b4a188

released 0.1.4

aalanwalk committed 4 years ago
Unverified
d67b547f1c1d90392e4c56854e1bd4406f01299a

released 0.1.3

aalanwalk committed 4 years ago
Unverified
34ba39ca830a54c627034ac97d45846c90112384

released 0.1.1

aalanwalk committed 4 years ago
Unverified
f2858a5a100bff0e7a270913e36e7bb0ed243300

first commit

aalanwalk committed 4 years ago
Verified
be4316dae2fbe299e182e8d3cb60b66a36fc0fef

Initial commit

aalanwalk committed 4 years ago

README

The README file for this repository.

tsc-with-cleanup

A simple script that that can be used to cleanup previously transpiled typescript files.

Install

npm install tsc-with-cleanup --save-dev

Usage

tsc-with-cleanup -s src -d dist -w -rd -v

Options

-s, --src <srcDir>              sets the source folder with ts files (default: src)
-d, --dist <distDir>            sets the distribution folder with js files (default: dist)
-e, --exclude [relativePath...] files to exclude on remove
-w, --watch                     whether to watch for files being deleted (default: false)
-v, --verbose                   Whether to show messages (default: false)
-if, --ifDeclared               If set to true, js files in dist will only be removed if a file with the same name and a .d.ts extension is also present (default: false)
-rd, --removeDirs               whether to remove empty directories (default: false)
...
Any tsc options

Reference