refactor: use contants for commands instead of string literals
This is a follow up MR from a discussion on !132 (comment 461536894).
Instead of using string literals, we define the commands as constants.
Also, there is a unit tests that checks that the commands defined in package.json
match the constants.