sort-compiler-options

Sort compilerOptions

Usage no npm install needed!

<script type="module">
  import sortCompilerOptions from 'https://cdn.skypack.dev/sort-compiler-options';
</script>

README

sort-compiler-options

Sort tsconfig.json compilerOptions in the same order as the TSConfig Reference (Support v4.5.5 or less)

Install

npm i sort-compiler-options -g

Usage

sort-compiler-options # or sort-co, sco

If you specify tsconfig file path, use config option (-c or --config)

sort-compiler-options -c tsconfig.server.json

Author

@p-chan

License

MIT