Use cmdify module to make command work on all platforms

Calling “npm” in windows does not work, instead npm.cmd should be
called. The cmdify module detects the platform and adds the extension
if it is needed.