generate config file to use npm modules with modulex