Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/p-chan/sort-compiler-options
- Owner: p-chan
- Created: 2022-02-05T11:15:37.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T07:48:05.000Z (almost 3 years ago)
- Last Synced: 2024-12-12T19:53:36.975Z (about 1 month ago)
- Topics: compiler, options, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/sort-compiler-options
- Size: 43 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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