Expand path alias to full path of declaration files which bundled by tsc
npm install @barusu/tool-tsconfig-paths
@barusu/tool-tsconfig-paths
alt="Npm Version"
src="https://img.shields.io/npm/v/@barusu/tool-tsconfig-paths.svg"
/>
alt="Npm Download"
src="https://img.shields.io/npm/dm/@barusu/tool-tsconfig-paths.svg"
/>
alt="Npm License"
src="https://img.shields.io/npm/l/@barusu/tool-tsconfig-paths.svg"
/>
alt="Node.js Version"
src="https://img.shields.io/node/v/@barusu/tool-tsconfig-paths"
/>
alt="React version"
src="https://img.shields.io/npm/dependency-version/@barusu/tool-tsconfig-paths/commander"
/>
alt="Tested with Jest"
src="https://img.shields.io/badge/tested_with-jest-9c465e.svg"
/>
alt="Code Style: prettier"
src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"
/>
``bash`
npm install -g @barusu/tool-tsconfig-paths
* yarn
`bash`
yarn global add @barusu/tool-tsconfig-paths
Expand path alias to full path in .d.ts`
shell`
barusu-tsconfig-paths . --tsconfigPath tsconfig.json --pattern lib/types/*/.d.ts --src-root-dir=src --dst-root-dir=lib/types
`shell
$ barusu-tsconfig-paths --help
Usage: barusu-tsconfig-paths [options] [command]
Options:
-V, --version output the version number
--log-level
--log-name
--log-mode <'normal' | 'loose'> specify logger's name.
--log-flag
Commands:
barusu-tsconfig-paths [options]
help [command] display help for command
``