0.0.6 • Published 3 years ago

ts-to-js-converter v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

ts-to-js-converter

Needed only for Windows

Tool for iteratively converting TS files in a project files to JS (needed only for windows)

npx ts-to-js-converter --source ../../source/folder/path --output ./output/directory --target ES2017 --exclude node_modules .git .gitattributes .DS_Store android ios

npx ts-to-js-converter -s .../../source/folder/path -o ./output/directory -t ES2017 -e node_modules .git .gitattributes .DS_Store android ios
optionsaliasdescription
sourcesSource directory to be parsed.
outputoOutput directory where the folder exists.
targettDefault: ES2017, specify other options.
noResolverDefault: true, if false resolve dependencies as well
copyNonTSFilecDefault: false, if true copy Non TS File
excludeeoptional, specify files with spaces

NOT needed in UNIX based machines (Mac or Linux)

In unix bases machine this can be done with below

npx tsc ./**/*.ts* --target es5 --outDir ../outputES5 --noResolve true --jsx preserve
0.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.6

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago