Optimization of package.json file and prepublish command