{"repo":"justkey007/tsc-alias","free":true,"listed":false,"github":"https://github.com/justkey007/tsc-alias","clone":"git clone https://github.com/justkey007/tsc-alias.git","description":"Replace alias paths with relative paths after typescript compilation","language":"TypeScript","stars":1138,"topics":["typescript","paths","alias","absolute-path","relative-path","compilation","tsc"],"license":"MIT","category":"dev-tools","readme_excerpt":"tsc-alias Replace alias paths with relative paths after typescript compilation. You can add aliases that reference other projects outside your tsconfig.json project by providing a relative path to the baseUrl. Comparison to tsconfig-paths \\+ Compile time (no runtime dependencies) Getting Started First, install tsc-alias as devDependency using npm. Add it to your build scripts in package.json or Issues If you have an issue, please create one. But, before: - try to check the FAQ. - try to check if there are any related issues - try to run with --debug and check if config is correctly loaded and all sourcefiles are found. API Installation Usage Here are all the available options: Option Description Default Value project, p path to tsconfig.json 'tsconfig.json' watch Observe file changes false outDir Run in a folder leaving the \"outDir\" of the tsconfig.json (relative path to tsconfig) tsconfig.compilerOptions.outDir declarationDir Works the same as outDir but for declarationDir tsconfig.compilerOptions.declarationDir resolveFullPaths Attempt to replace incomplete import paths (those not ending in .js ) with fully resolved paths (for ECMAScript Modules compatibility) false resolveFullExtension Allows you to specify the extension of incomplete import paths, works with resolveFullPaths '.js' '.mjs' '.cjs' silent Reduced terminal output. This is a deprecated option and no longer has any effect. true verbose Additional information is output to the terminal false debug Debug informatio","default_branch":null,"files":null,"tree":[],"storefront":"/r/justkey007","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/justkey007/tsc-alias/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}