Generate a valid requirejs-config.js file automatically detecting all the package.json dependencies