1.1.1 • Published 4 years ago

xported v1.1.1

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

A script to generate a index.[tj]s file that re-exports from other [tj]s files in the folder. The output follows ESMoule syntax rather than CommonJS.

Install

npm i -g xported

Usage

cd your/working/dir && xported

The default compiler option is the following: --allowJs --module commonjs --esModuleInterop --moduleResolution node --target ES2019 more options can be added via the -c option.

e.g.

xported -c "--experimentalDecorators"

NB Do not overwrite the existing compiler options.

Available options:

 -e,--ext                                           '.js' | '.ts', default to '.ts'.
 -c,--compilerOption                                 Extra tsc compilerOption.
1.1.1

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago