This is a fork of https://github.com/alphazygma/typescript-cleanup
Small NodeJs script to help cleanup compiled JS/MAP files
This fork adds the following feature(s):
- find orphaned .js/.map files (=not having a .ts file)
- ignore orphaned files if they are named *.min.map (which might be mapping between compressed/uncompressed)
Copy the file "tsc-cleanup" into the root of your project. There must be a valid tsconfig.json in this folder as well. Then open command line and run "node ts-cleanup".