create package.json file from existing node_modules directory