Skip to content

p-chan/sort-compiler-options

Repository files navigation

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