list code file extensions in ngprc

Instead of being static in the code.