@barusu/tool-tsconfig-paths
v0.3.1
Published
Expand path alias to full path of declaration files which bundled by tsc
Downloads
53
Readme
Install
npm install -g @barusu/tool-tsconfig-paths
yarn
yarn global add @barusu/tool-tsconfig-paths
Usage
- Expand path alias to full path in
*.d.ts
barusu-tsconfig-paths . --tsconfigPath tsconfig.json --pattern lib/types/**/*.d.ts --src-root-dir=src --dst-root-dir=lib/types
Options
$ barusu-tsconfig-paths --help
Usage: barusu-tsconfig-paths [options] [command]
Options:
-V, --version output the version number
--log-level <level> specify logger's level.
--log-name <name> specify logger's name.
--log-mode <'normal' | 'loose'> specify logger's name.
--log-flag <option> specify logger' option. [[no-]<date|colorful|inline>] (default: [])
--log-filepath <filepath> specify logger' output path.
--log-encoding <encoding> specify output file encoding.
-c, --config-path <configFilepath> config filepaths (default: [])
--parastic-config-path <parasticConfigFilepath> parastic config filepath
--parastic-config-entry <parasticConfigFilepath> parastic config filepath
-h, --help display help for command
Commands:
barusu-tsconfig-paths [options] <workspace>
help [command] display help for command