save modules in package.json