Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/p-chan/sort-compiler-options

Sort tsconfig.json compilerOptions
https://github.com/p-chan/sort-compiler-options

compiler options typescript

Last synced: about 1 month ago
JSON representation

Sort tsconfig.json compilerOptions

Awesome Lists containing this project

README

        

# sort-compiler-options

> Sort tsconfig.json compilerOptions in the same order as [the TSConfig Reference](https://www.typescriptlang.org/tsconfig#compilerOptions) (Support v4.5.5 or less)

## Install

```sh
npm i sort-compiler-options -g
```

## Usage

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

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

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

## Author

[@p-chan](https://github.com/p-chan)

## License

MIT