Cómo eliminar el archivo spec.ts en el proyecto todo togethre

Deleting them from an existing project depends on your OS. If it is a Unix based system you could do something like this:

find . -type f -name '*.spec.ts' -delete
Exuberant Emu