How to compile little change in module

I have copied a module, changed the plugin.json, commented out some lines of code in module.ts.

Now I guess I need to ‘compile’ this to a module.js?

What is the simplest way of doing this on CentOS6/&. (without installing tons of rpms etc)

Start here: http://docs.grafana.org/project/building_from_source/#building-grafana-from-source

Yes saw that already, I was looking for a one liner that quickly transforms the ts, like

g++ -o hi hi.cpp

Don’t have one ready as it is easier to just run grunt. But you could use the TypeScript tsc tool to build one file.